|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mat.util.FileUtils
public final class FileUtils
| Method Summary | |
|---|---|
static void |
copy(InputStream in,
OutputStream out)
Basic stream copy |
static File |
createTempDirectory(String prefix,
File parent)
Create a temporary directory which should be deleted on application close. |
static String |
toFilename(String name,
String extension)
|
static String |
toFilename(String prefix,
String suffix,
String extension)
Build a file name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final void copy(InputStream in,
OutputStream out)
throws IOException
in - input streamout - output stream
IOException
public static File createTempDirectory(String prefix,
File parent)
throws IOException
prefix - parent -
IOException
public static String toFilename(String name,
String extension)
public static String toFilename(String prefix,
String suffix,
String extension)
prefix - the prefix of the filesuffix - the suffixextension - the file extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||