public abstract class AbstractDataHandle<L extends Location> extends AbstractWrapperPlugin<L> implements DataHandle<L>
DataHandle
plugins.DEFAULT_BLOCK_SIZE, MAX_SEARCH_SIZE
Constructor and Description |
---|
AbstractDataHandle() |
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
Gets the native encoding of the stream.
|
ByteOrder |
getOrder()
Returns the current order of the stream.
|
void |
setEncoding(String encoding)
Sets the native encoding of the stream.
|
void |
setOrder(ByteOrder order)
Sets the byte order of the stream.
|
get, set
getInfo, getPriority, setInfo, setPriority, toString
context, getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findString, findString, findString, findString, isLittleEndian, length, offset, read, read, read, read, read, readCString, readString, readString, seek, setOrder, skip, write, write
get, set
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public ByteOrder getOrder()
DataHandle
getOrder
in interface DataHandle<L extends Location>
public void setOrder(ByteOrder order)
DataHandle
setOrder
in interface DataHandle<L extends Location>
order
- Order to set.public String getEncoding()
DataHandle
getEncoding
in interface DataHandle<L extends Location>
public void setEncoding(String encoding)
DataHandle
setEncoding
in interface DataHandle<L extends Location>
Copyright © 2009–2016 SciJava. All rights reserved.