Class FileCtx

java.lang.Object
org.serviceconnector.util.FileCtx

public class FileCtx extends Object
The Class FileCtx.
  • Constructor Details

    • FileCtx

      public FileCtx(FileLock lock, FileChannel fileChannel, File file)
      Instantiates a new file ctx.
      Parameters:
      lock - the lock
      fileChannel - the file channel
  • Method Details

    • releaseFileLockAndCloseChannel

      public void releaseFileLockAndCloseChannel()
    • getFile

      public File getFile()
      Gets the file.
      Returns:
      the file