|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectECWPImageInputStream
public class ECWPImageInputStream
A simple class which allow to handle ECWP protocol on GDAL. Actually, this shouldn't be used as a real ImageInputStream.
| Constructor Summary | |
|---|---|
ECWPImageInputStream(String ecwpUrl)
|
|
ECWPImageInputStream(URI uri)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ECWPImageInputStream(String ecwpUrl)
public ECWPImageInputStream(URI uri)
| Method Detail |
|---|
public URI getUri()
URIImageInputStreamURI
getUri in interface URIImageInputStreamURIpublic String getECWPLink()
public void close()
throws IOException
close in interface ImageInputStreamIOException
public void flush()
throws IOException
flush in interface ImageInputStreamIOException
public void flushBefore(long pos)
throws IOException
flushBefore in interface ImageInputStreamIOException
public int getBitOffset()
throws IOException
getBitOffset in interface ImageInputStreamIOExceptionpublic ByteOrder getByteOrder()
getByteOrder in interface ImageInputStreampublic long getFlushedPosition()
getFlushedPosition in interface ImageInputStream
public long getStreamPosition()
throws IOException
getStreamPosition in interface ImageInputStreamIOExceptionpublic boolean isCached()
isCached in interface ImageInputStreampublic boolean isCachedFile()
isCachedFile in interface ImageInputStreampublic boolean isCachedMemory()
isCachedMemory in interface ImageInputStream
public long length()
throws IOException
length in interface ImageInputStreamIOExceptionpublic void mark()
mark in interface ImageInputStream
public int read()
throws IOException
read in interface ImageInputStreamIOException
public int read(byte[] b)
throws IOException
read in interface ImageInputStreamIOException
public int read(byte[] b,
int off,
int len)
throws IOException
read in interface ImageInputStreamIOException
public int readBit()
throws IOException
readBit in interface ImageInputStreamIOException
public long readBits(int numBits)
throws IOException
readBits in interface ImageInputStreamIOException
public boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in interface ImageInputStreamIOException
public byte readByte()
throws IOException
readByte in interface DataInputreadByte in interface ImageInputStreamIOException
public void readBytes(IIOByteBuffer buf,
int len)
throws IOException
readBytes in interface ImageInputStreamIOException
public char readChar()
throws IOException
readChar in interface DataInputreadChar in interface ImageInputStreamIOException
public double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in interface ImageInputStreamIOException
public float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in interface ImageInputStreamIOException
public void readFully(byte[] b)
throws IOException
readFully in interface DataInputreadFully in interface ImageInputStreamIOException
public void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputreadFully in interface ImageInputStreamIOException
public void readFully(short[] s,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOException
public void readFully(char[] c,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOException
public void readFully(int[] i,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOException
public void readFully(long[] l,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOException
public void readFully(float[] f,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOException
public void readFully(double[] d,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOException
public int readInt()
throws IOException
readInt in interface DataInputreadInt in interface ImageInputStreamIOException
public String readLine()
throws IOException
readLine in interface DataInputreadLine in interface ImageInputStreamIOException
public long readLong()
throws IOException
readLong in interface DataInputreadLong in interface ImageInputStreamIOException
public short readShort()
throws IOException
readShort in interface DataInputreadShort in interface ImageInputStreamIOException
public String readUTF()
throws IOException
readUTF in interface DataInputreadUTF in interface ImageInputStreamIOException
public int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in interface ImageInputStreamIOException
public long readUnsignedInt()
throws IOException
readUnsignedInt in interface ImageInputStreamIOException
public int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in interface ImageInputStreamIOException
public void reset()
throws IOException
reset in interface ImageInputStreamIOException
public void seek(long pos)
throws IOException
seek in interface ImageInputStreamIOException
public void setBitOffset(int bitOffset)
throws IOException
setBitOffset in interface ImageInputStreamIOExceptionpublic void setByteOrder(ByteOrder byteOrder)
setByteOrder in interface ImageInputStream
public int skipBytes(int n)
throws IOException
skipBytes in interface DataInputskipBytes in interface ImageInputStreamIOException
public long skipBytes(long n)
throws IOException
skipBytes in interface ImageInputStreamIOExceptionpublic URI getTarget()
AccessibleStream
getTarget in interface AccessibleStream<URI>public Class<URI> getBinding()
AccessibleStream
getBinding in interface AccessibleStream<URI>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||