|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.dvb.projectx.xinput.XInputFile
Constructor Summary | |
XInputFile(java.lang.Object aVO)
|
Method Summary | |
boolean |
equals(java.lang.Object aObj)
|
boolean |
exists()
Checks if file exists |
java.lang.Object |
getConstructorParameter()
|
FileType |
getFileType()
Gets the type of this XInputFile implementation. |
XInputFileIF |
getImpl()
|
java.io.InputStream |
getInputStream()
Get input stream from the file. close() on stream closes XInputFile, too. |
java.io.InputStream |
getInputStream(long start_position)
Get input stream from the file. close() on stream closes XInputFile, too. |
java.lang.String |
getName()
Get Name of file |
XInputFile |
getNewInstance()
|
java.lang.String |
getParent()
Get Path of parent |
StreamInfo |
getStreamInfo()
|
java.lang.String |
getUrl()
Get url representation of the object. |
int |
hashCode()
|
long |
lastModified()
Time in milliseconds from the epoch. |
long |
length()
Length of file in bytes. |
void |
randomAccessClose()
|
long |
randomAccessGetFilePointer()
|
void |
randomAccessOpen(java.lang.String aMode)
Opens XInputFile for random access |
int |
randomAccessRead()
|
int |
randomAccessRead(byte[] aBuffer)
|
int |
randomAccessRead(byte[] aBuffer,
int aOffset,
int aLength)
|
java.lang.String |
randomAccessReadLine()
|
long |
randomAccessReadLong()
|
void |
randomAccessSeek(long aPosition)
|
void |
randomAccessSingleRead(byte[] aBuffer,
long aPosition)
Convinience method for a single random read access to a input file. |
void |
randomAccessWrite(byte[] aBuffer)
|
boolean |
rename()
rename |
void |
setConstructorParameter(java.lang.Object obj)
|
boolean |
setLastModified()
set Time in milliseconds from the epoch. |
void |
setStreamInfo(StreamInfo _streamInfo)
|
java.lang.String |
toString()
Get String representation of the object. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public XInputFile(java.lang.Object aVO)
Method Detail |
public XInputFile getNewInstance()
public void setConstructorParameter(java.lang.Object obj)
public java.lang.Object getConstructorParameter()
public boolean exists()
public java.io.InputStream getInputStream() throws java.io.FileNotFoundException, java.net.MalformedURLException, java.io.IOException
public java.io.InputStream getInputStream(long start_position) throws java.io.FileNotFoundException, java.net.MalformedURLException, java.io.IOException
public java.lang.String getName()
public java.lang.String getParent()
public java.lang.String getUrl()
public int hashCode()
public long lastModified()
public boolean setLastModified()
public long length()
public boolean rename() throws java.io.IOException
public void randomAccessClose() throws java.io.IOException
public void randomAccessOpen(java.lang.String aMode) throws java.io.IOException
aMode
- public int randomAccessRead() throws java.io.IOException
public int randomAccessRead(byte[] aBuffer) throws java.io.IOException
aBuffer
- public int randomAccessRead(byte[] aBuffer, int aOffset, int aLength) throws java.io.IOException
aBuffer
- aOffset
- aLength
- public java.lang.String randomAccessReadLine() throws java.io.IOException
public void randomAccessSeek(long aPosition) throws java.io.IOException
aPosition
- public long randomAccessGetFilePointer() throws java.io.IOException
public void randomAccessSingleRead(byte[] aBuffer, long aPosition) throws java.io.IOException
aBuffer
- aPosition
- public void randomAccessWrite(byte[] aBuffer) throws java.io.IOException
aBuffer
- public long randomAccessReadLong() throws java.io.IOException
public boolean equals(java.lang.Object aObj)
public FileType getFileType()
public java.lang.String toString()
public XInputFileIF getImpl()
public void setStreamInfo(StreamInfo _streamInfo)
public StreamInfo getStreamInfo()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |