Class FileBrowseController.FileOperations

  • Enclosing class:
    FileBrowseController

    public static class FileBrowseController.FileOperations
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FileOperations()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean deleteFile​(java.io.File file)  
      void saveFile​(java.io.File file, java.lang.String content)  
      void writeFile​(java.io.File file, java.io.InputStream is)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileOperations

        public FileOperations()
    • Method Detail

      • saveFile

        public void saveFile​(@NotNull
                             java.io.File file,
                             @NotNull
                             java.lang.String content)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteFile

        public boolean deleteFile​(@NotNull
                                  java.io.File file)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeFile

        public void writeFile​(@NotNull
                              java.io.File file,
                              @NotNull
                              java.io.InputStream is)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception