public abstract class AbstractDataHandle<L extends Location> extends AbstractWrapperPlugin<L> implements DataHandle<L>
DataHandle
plugins.DataHandle.ByteOrder
DEFAULT_BLOCK_SIZE, MAX_SEARCH_SIZE
Constructor and Description |
---|
AbstractDataHandle() |
Modifier and Type | Method and Description |
---|---|
byte[] |
conversionBuffer() |
String |
getEncoding()
Gets the native encoding of the stream.
|
DataHandle.ByteOrder |
getOrder()
Returns the byte order of the stream.
|
void |
setEncoding(String encoding)
Sets the native encoding of the stream.
|
void |
setOrder(DataHandle.ByteOrder order)
Sets the byte order of the stream.
|
get, set
supports
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
available, checksum, ensureReadable, ensureWritable, exists, findString, findString, findString, findString, isBigEndian, isLittleEndian, isReadable, isWritable, lastModified, length, offset, read, read, read, readBoolean, readChar, readCString, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readString, readString, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, setLittleEndian, skip, skipBytes, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLine, writeLong, writeShort, writeUTF
get, set
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
write, write
public byte[] conversionBuffer()
conversionBuffer
in interface DataHandle<L extends Location>
public DataHandle.ByteOrder getOrder()
DataHandle
getOrder
in interface DataHandle<L extends Location>
public void setOrder(DataHandle.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 © 2015–2022 SciJava. All rights reserved.