|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.BasicStream
public class BasicStream
Represents basic stream.
Constructor Summary | |
---|---|
BasicStream()
Construct a BasicStream instance. |
|
BasicStream(java.io.InputStream input)
Construct a BasicStream instance. |
Method Summary | |
---|---|
void |
close()
abstract method for stream close. |
void |
flush()
abstract method for stream flush. |
boolean |
getCanRead()
Gets a value indicating whether the current stream supports reading. |
boolean |
getCanSeek()
Gets a value of false indicating seeking is not supported for this stream. |
boolean |
getCanWrite()
Gets a value of false indicating that this stream is not writable. |
long |
getlength()
Gets the length of the stream. |
long |
getseek()
Gets the current position. |
int |
read()
abstract method for stream read. |
int |
read(byte[] in,
int offset,
int count)
Abstract method for stream read. |
byte |
readbyte()
Abstract method for stream read. |
void |
setCanRead(boolean value)
Set a value indicating whether the current stream supports reading. |
void |
setCanSeek(boolean value)
Sets a value indicating whether the current stream supports seeking. |
void |
setCanWrite(boolean value)
Sets a value indicating whether the current stream supports writing. |
void |
setlength(long value)
Sets the stream length. |
void |
setseek(long value)
Sets the current position. |
void |
setseek(long orig,
long offset)
Sets the offset. |
void |
skip(long number)
abstract method for stream skip. |
void |
write()
Abstract method for stream write. |
void |
write(byte temp)
Abstract method for stream write. |
void |
write(byte[] temp)
Abstract method for stream write. |
void |
write(byte[] temp,
int offset,
int count)
Abstract method for stream write. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicStream()
public BasicStream(java.io.InputStream input)
input
- The InputStream object.Method Detail |
---|
public boolean getCanRead()
public void setCanRead(boolean value)
value
- Whether the stream supports reading.public boolean getCanSeek()
public void setCanSeek(boolean value)
value
- Whether the stream supports seeking.public boolean getCanWrite()
public void setCanWrite(boolean value)
value
- The position.public long getseek()
public void setseek(long value)
value
- The position.public void setseek(long orig, long offset)
orig
- The original value.offset
- The offset.public long getlength()
public void setlength(long value)
value
- The length of the stream.public int read() throws java.io.IOException
java.io.IOException
public byte readbyte() throws java.io.IOException
java.io.IOException
public int read(byte[] in, int offset, int count) throws java.io.IOException
java.io.IOException
public void skip(long number) throws java.io.IOException
java.io.IOException
public void write() throws java.io.IOException
java.io.IOException
public void write(byte[] temp, int offset, int count) throws java.io.IOException
java.io.IOException
public void write(byte[] temp)
public void write(byte temp)
public void flush() throws java.io.IOException
java.io.IOException
public void close()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |