|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.onemind.commons.java.util.FileUtils
public final class FileUtils
File related utilities methods
| Field Summary | |
|---|---|
private static java.lang.String |
BSLASH
the back slash * |
private static java.lang.String |
FSLASH
the forward slash * |
private static java.lang.String |
SEPARATOR
the separator * |
| Constructor Summary | |
|---|---|
private |
FileUtils()
|
| Method Summary | |
|---|---|
static java.lang.String |
concatFilePath(java.lang.String[] args)
Concat the strings to be a valid file path |
private static java.lang.String |
concatFilePath(java.lang.StringBuffer prefix,
java.lang.String suffix)
concat a meaning file path |
static java.lang.String |
concatFilePath(java.lang.String prefix,
java.lang.String suffix)
Concat filepath with the prefix and suffix |
static void |
copyStream(java.io.InputStream input,
java.io.OutputStream output,
int chunkSize)
Copy the input to the output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String FSLASH
private static final java.lang.String BSLASH
private static final java.lang.String SEPARATOR
| Constructor Detail |
|---|
private FileUtils()
| Method Detail |
|---|
public static java.lang.String concatFilePath(java.lang.String[] args)
args - the string
public static java.lang.String concatFilePath(java.lang.String prefix,
java.lang.String suffix)
prefix - the prefixsuffix - the suffix
private static java.lang.String concatFilePath(java.lang.StringBuffer prefix,
java.lang.String suffix)
prefix - the prefixsuffix - the suffix
public static void copyStream(java.io.InputStream input,
java.io.OutputStream output,
int chunkSize)
throws java.io.IOException
input - the input streamoutput - the outputchunkSize - the chunk size
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||