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 String
LINUX_HOMEFOLDER
static String
WIN_MAC_HOMEFOLDER
static String
WIN_MAC_HOMEFOLDER_OLD
-
Constructor Summary
Constructors Constructor Description HomeFolder()
-
Method Summary
Modifier and Type Method Description static void
copyContent(InputStream in, OutputStream out)
static void
copyFile(File oldfile, File newfile)
static void
copyFile(InputStream in, File newfile)
static boolean
copyFileToTemporaryFolder(File f)
static boolean
copyFileToTemporaryFolder(String subfolder, File f)
static String
getHomeFolder()
static String
getTemporaryFolder()
static String
getTemporaryFolderWithFinalSep()
-
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
-