Interface LowLevelPatch<T,​F>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addDirectory​(F file)  
      void changeBinary​(F file, long length, T content, boolean create)  
      void changeTextUsingBytes​(F file, byte[] lineSeparator, long length, T content, boolean create)  
      void delete​(F file, boolean isFile, boolean emptyParent)  
      void exit​(java.lang.String message)  
      void fail​(java.lang.String message)  
      void rename​(F oldName, F newName, boolean isFile, boolean emptyParent)  
      void setFileMode​(F file, java.lang.String mode)  
      void setTimeStamp​(F file, long timestamp)  
    • Method Detail

      • delete

        void delete​(@NotNull
                    F file,
                    boolean isFile,
                    boolean emptyParent)
             throws java.io.IOException
        Throws:
        java.io.IOException
      • rename

        void rename​(@NotNull
                    F oldName,
                    @NotNull
                    F newName,
                    boolean isFile,
                    boolean emptyParent)
             throws java.io.IOException
        Throws:
        java.io.IOException
      • setTimeStamp

        void setTimeStamp​(@NotNull
                          F file,
                          long timestamp)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • setFileMode

        void setFileMode​(@NotNull
                         F file,
                         @NotNull
                         java.lang.String mode)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • addDirectory

        void addDirectory​(@NotNull
                          F file)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • changeBinary

        void changeBinary​(@NotNull
                          F file,
                          long length,
                          @NotNull
                          T content,
                          boolean create)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • changeTextUsingBytes

        void changeTextUsingBytes​(@NotNull
                                  F file,
                                  @NotNull
                                  byte[] lineSeparator,
                                  long length,
                                  @NotNull
                                  T content,
                                  boolean create)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • exit

        void exit​(@NotNull
                  java.lang.String message)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • fail

        void fail​(@NotNull
                  java.lang.String message)
           throws java.io.IOException
        Throws:
        java.io.IOException