public class ECWPImageInputStream extends Object implements URIImageInputStream
Constructor and Description |
---|
ECWPImageInputStream(String ecwpUrl) |
ECWPImageInputStream(URI uri) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
flushBefore(long pos) |
Class<URI> |
getBinding()
Retrieve the class for the target object.
|
int |
getBitOffset() |
ByteOrder |
getByteOrder() |
String |
getECWPLink() |
long |
getFlushedPosition() |
long |
getStreamPosition() |
URI |
getTarget()
Retrieves the target object on which we work.
|
URI |
getUri()
Returns the associated
URI |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
long |
length() |
void |
mark() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
readBit() |
long |
readBits(int numBits) |
boolean |
readBoolean() |
byte |
readByte() |
void |
readBytes(IIOByteBuffer buf,
int len) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
void |
readFully(char[] c,
int off,
int len) |
void |
readFully(double[] d,
int off,
int len) |
void |
readFully(float[] f,
int off,
int len) |
void |
readFully(int[] i,
int off,
int len) |
void |
readFully(long[] l,
int off,
int len) |
void |
readFully(short[] s,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
long |
readUnsignedInt() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
void |
seek(long pos) |
void |
setBitOffset(int bitOffset) |
void |
setByteOrder(ByteOrder byteOrder) |
int |
skipBytes(int n) |
long |
skipBytes(long n) |
public ECWPImageInputStream(String ecwpUrl)
public ECWPImageInputStream(URI uri)
public URI getUri()
URIImageInputStream
URI
getUri
in interface URIImageInputStream
URI
public String getECWPLink()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface ImageInputStream
IOException
public void flush() throws IOException
flush
in interface ImageInputStream
IOException
public void flushBefore(long pos) throws IOException
flushBefore
in interface ImageInputStream
IOException
public int getBitOffset() throws IOException
getBitOffset
in interface ImageInputStream
IOException
public ByteOrder getByteOrder()
getByteOrder
in interface ImageInputStream
public long getFlushedPosition()
getFlushedPosition
in interface ImageInputStream
public long getStreamPosition() throws IOException
getStreamPosition
in interface ImageInputStream
IOException
public boolean isCached()
isCached
in interface ImageInputStream
public boolean isCachedFile()
isCachedFile
in interface ImageInputStream
public boolean isCachedMemory()
isCachedMemory
in interface ImageInputStream
public long length() throws IOException
length
in interface ImageInputStream
IOException
public void mark()
mark
in interface ImageInputStream
public int read() throws IOException
read
in interface ImageInputStream
IOException
public int read(byte[] b) throws IOException
read
in interface ImageInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in interface ImageInputStream
IOException
public int readBit() throws IOException
readBit
in interface ImageInputStream
IOException
public long readBits(int numBits) throws IOException
readBits
in interface ImageInputStream
IOException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
readBoolean
in interface ImageInputStream
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
readByte
in interface ImageInputStream
IOException
public void readBytes(IIOByteBuffer buf, int len) throws IOException
readBytes
in interface ImageInputStream
IOException
public char readChar() throws IOException
readChar
in interface DataInput
readChar
in interface ImageInputStream
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
readDouble
in interface ImageInputStream
IOException
public float readFloat() throws IOException
readFloat
in interface DataInput
readFloat
in interface ImageInputStream
IOException
public void readFully(byte[] b) throws IOException
readFully
in interface DataInput
readFully
in interface ImageInputStream
IOException
public void readFully(byte[] b, int off, int len) throws IOException
readFully
in interface DataInput
readFully
in interface ImageInputStream
IOException
public void readFully(short[] s, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(char[] c, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(int[] i, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(long[] l, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(float[] f, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public void readFully(double[] d, int off, int len) throws IOException
readFully
in interface ImageInputStream
IOException
public int readInt() throws IOException
readInt
in interface DataInput
readInt
in interface ImageInputStream
IOException
public String readLine() throws IOException
readLine
in interface DataInput
readLine
in interface ImageInputStream
IOException
public long readLong() throws IOException
readLong
in interface DataInput
readLong
in interface ImageInputStream
IOException
public short readShort() throws IOException
readShort
in interface DataInput
readShort
in interface ImageInputStream
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
readUTF
in interface ImageInputStream
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
readUnsignedByte
in interface ImageInputStream
IOException
public long readUnsignedInt() throws IOException
readUnsignedInt
in interface ImageInputStream
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
readUnsignedShort
in interface ImageInputStream
IOException
public void reset() throws IOException
reset
in interface ImageInputStream
IOException
public void seek(long pos) throws IOException
seek
in interface ImageInputStream
IOException
public void setBitOffset(int bitOffset) throws IOException
setBitOffset
in interface ImageInputStream
IOException
public void setByteOrder(ByteOrder byteOrder)
setByteOrder
in interface ImageInputStream
public int skipBytes(int n) throws IOException
skipBytes
in interface DataInput
skipBytes
in interface ImageInputStream
IOException
public long skipBytes(long n) throws IOException
skipBytes
in interface ImageInputStream
IOException
public URI getTarget()
AccessibleStream
getTarget
in interface AccessibleStream<URI>
public Class<URI> getBinding()
AccessibleStream
getBinding
in interface AccessibleStream<URI>
Copyright © 2006–2015 GeoSolutions. All rights reserved.