Package org
Class HomeFolder
java.lang.Object
org.HomeFolder
- All Implemented Interfaces:
HelperClass
public class HomeFolder extends Object implements HelperClass
-
Field Summary
Fields Modifier and Type Field Description static StringLINUX_HOMEFOLDERstatic StringWIN_MAC_HOMEFOLDERstatic StringWIN_MAC_HOMEFOLDER_OLD -
Constructor Summary
Constructors Constructor Description HomeFolder() -
Method Summary
Modifier and Type Method Description static voidcopyContent(InputStream in, OutputStream out)static voidcopyFile(File oldfile, File newfile)static voidcopyFile(InputStream in, File newfile)static booleancopyFileToTemporaryFolder(File f)static booleancopyFileToTemporaryFolder(String subfolder, File f)static StringgetHomeFolder()static StringgetTemporaryFolder()static StringgetTemporaryFolderWithFinalSep()
-
Field Details
-
WIN_MAC_HOMEFOLDER
-
LINUX_HOMEFOLDER
-
WIN_MAC_HOMEFOLDER_OLD
-
-
Constructor Details
-
HomeFolder
public HomeFolder()
-
-
Method Details
-
getTemporaryFolder
-
getHomeFolder
-
getTemporaryFolderWithFinalSep
-
copyFileToTemporaryFolder
-
copyFileToTemporaryFolder
-
copyFile
- Throws:
IOException
-
copyFile
- Throws:
IOException
-
copyContent
- Throws:
IOException
-