Class LockableFileWriter.Builder

    • Method Detail

      • setAppend

        public LockableFileWriter.Builder setAppend​(boolean append)
        Sets whether to append (true) or overwrite (false).
        Parameters:
        append - whether to append (true) or overwrite (false).
        Returns:
        this instance.
      • setLockDirectory

        public LockableFileWriter.Builder setLockDirectory​(java.io.File lockDirectory)
        Sets the directory in which the lock file should be held.
        Parameters:
        lockDirectory - the directory in which the lock file should be held.
        Returns:
        this instance.
      • setLockDirectory

        public LockableFileWriter.Builder setLockDirectory​(java.lang.String lockDirectory)
        Sets the directory in which the lock file should be held.
        Parameters:
        lockDirectory - the directory in which the lock file should be held.
        Returns:
        this instance.