Package org

Class HomeFolder

java.lang.Object
org.HomeFolder
All Implemented Interfaces:
HelperClass

public class HomeFolder
extends Object
implements HelperClass
  • Field Details

    • WIN_MAC_HOMEFOLDER

      public static String WIN_MAC_HOMEFOLDER
    • LINUX_HOMEFOLDER

      public static String LINUX_HOMEFOLDER
    • WIN_MAC_HOMEFOLDER_OLD

      public static String WIN_MAC_HOMEFOLDER_OLD
  • Constructor Details

    • HomeFolder

      public HomeFolder()
  • Method Details

    • getTemporaryFolder

      public static String getTemporaryFolder()
    • getHomeFolder

      public static String getHomeFolder()
    • getTemporaryFolderWithFinalSep

      public static String getTemporaryFolderWithFinalSep()
    • copyFileToTemporaryFolder

      public static boolean copyFileToTemporaryFolder​(File f)
    • copyFileToTemporaryFolder

      public static boolean copyFileToTemporaryFolder​(String subfolder, File f)
    • copyFile

      public static void copyFile​(File oldfile, File newfile) throws IOException
      Throws:
      IOException
    • copyFile

      public static void copyFile​(InputStream in, File newfile) throws IOException
      Throws:
      IOException
    • copyContent

      public static void copyContent​(InputStream in, OutputStream out) throws IOException
      Throws:
      IOException