|
jxUtil 0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourceforge.jxutil.io.IOUtil
Various routines dealing with I/O.
Constructor Summary | |
private |
IOUtil()
Can't instantiate. |
Method Summary | |
static boolean |
compare(File f1,
File f2)
|
static boolean |
compare(InputStream a,
InputStream b)
|
static IntRangesSet |
encodingCoverage(String encoding)
Determine the unicode range(s) the given encoding can represent. |
static byte[] |
readFully(InputStream in)
Completely read a stream. |
static void |
readFully(InputStream in,
byte[] buf)
Completely read a buffer. |
static void |
readFully(Reader in,
char[] buf)
Completely read a character buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private IOUtil()
Method Detail |
public static boolean compare(File f1, File f2) throws IOException
IOException
public static boolean compare(InputStream a, InputStream b) throws IOException
IOException
public static final IntRangesSet encodingCoverage(String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public static final byte[] readFully(InputStream in) throws IOException
IOException
public static final void readFully(InputStream in, byte[] buf) throws IOException
IOException
public static final void readFully(Reader in, char[] buf) throws IOException
IOException
|
jxUtil 0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |