com.jfx.io
Class InputStreamManager
java.lang.Object
com.jfx.io.InputStreamManager
public class InputStreamManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamManager
public InputStreamManager(int bufferSize)
InputStreamManager
public InputStreamManager(java.io.InputStream is)
getBufferSize
public int getBufferSize()
getReadableByteChannel
public java.nio.channels.ReadableByteChannel getReadableByteChannel()
throws java.io.IOException
- Throws:
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getLines
public java.util.ArrayList getLines(java.lang.String encoding)
throws java.io.IOException
- Throws:
java.io.IOException
getBytes
public byte[] getBytes()
throws java.io.IOException
- Throws:
java.io.IOException
getBytesFixLF
public byte[] getBytesFixLF()
throws java.io.IOException
- Throws:
java.io.IOException
getChars
public char[] getChars(java.lang.String encoding)
throws java.io.IOException
- Throws:
java.io.IOException
readASCIILines
public void readASCIILines(LineListener lsnr)
throws java.io.IOException
- Throws:
java.io.IOException
readASCIILines
public void readASCIILines(LineListener lsnr,
int startLine,
int endLine)
throws java.io.IOException
- Throws:
java.io.IOException
readCommand
public void readCommand(CommandListener lsnr)
throws java.io.IOException
- Throws:
java.io.IOException
readBytes
public void readBytes(BytesListener lsnr)
throws java.io.IOException
- Throws:
java.io.IOException
readBytes
public void readBytes(BytesListener lsnr,
int startOffset,
int endOffset)
throws java.io.IOException
- Throws:
java.io.IOException
zipIt
public void zipIt(java.lang.String toZipFileName,
java.lang.String zipEntryName,
java.lang.String underThePathInZip)
throws java.io.IOException
- Throws:
java.io.IOException
gzipIt
public void gzipIt(java.lang.String toZipFileName,
java.lang.String underThePath)
throws java.io.IOException
- Throws:
java.io.IOException
deleteFile
protected void deleteFile(java.lang.String fileName)
Copyright © 2008-2009 Roman Gerasimenko.