Uses of Class
com.aoapps.io.posix.PosixFile
-
Uses of PosixFile in com.aoapps.io.posix
Modifier and TypeMethodDescriptionfinal PosixFile
PosixFile.chown
(int uid, int gid) Changes both the owner and group for a file.final PosixFile
PosixFile.getParent()
Gets the parent of this file ornull
if it doesn't have a parent.final PosixFile
Creates a hard link.final PosixFile
Creates a hard link.final PosixFile
PosixFile.mkdir()
Creates a directory.final PosixFile
PosixFile.mkdir
(boolean makeParents, long mode) Creates a directory and sets its permissions, optionally creating all the parent directories if they do not exist.final PosixFile
PosixFile.mkdir
(boolean makeParents, long mode, int uid, int gid) Creates a directory and sets its permissions, optionally creating all the parent directories if they do not exist.final PosixFile
PosixFile.mkfifo
(long mode) Creates a FIFO.final PosixFile
PosixFile.mknod
(long mode, long device) Creates a device file.static PosixFile
Deprecated.static PosixFile
Deprecated.Please useFiles.createTempFile(java.lang.String, java.lang.String, java.nio.file.attribute.FileAttribute...)
or TempFileContext asFile.deleteOnExit()
is prone to memory leaks in long-running applications.final PosixFile
PosixFile.setAccessTime
(long atime) Deprecated.This method internally performs an extra stat.final PosixFile
PosixFile.setGid
(int gid) Deprecated.This method internally performs an extra stat.final PosixFile
PosixFile.setGID
(int gid) Deprecated.Please usesetGid(int)
instead.final PosixFile
PosixFile.setMode
(long mode) Sets the permissions for this file.final PosixFile
PosixFile.setModifyTime
(long mtime) Deprecated.This method internally performs an extra stat.final PosixFile
PosixFile.setUid
(int uid) Deprecated.This method internally performs an extra stat.final PosixFile
PosixFile.setUID
(int uid) Deprecated.Please usesetUid(int)
instead.final PosixFile
Creates a symbolic link.final PosixFile
PosixFile.utime
(long atime, long mtime) Sets the access and modify times for this file.Modifier and TypeMethodDescriptionboolean
PosixFile.contentEquals
(PosixFile otherFile) Compares this contents of this file to the contents of another file.void
Copies one filesystem object to another.final PosixFile
Creates a hard link.final void
Renames this file, possibly overwriting any previous file.boolean
PosixFile.secureContentEquals
(PosixFile otherFile, int uidMin, int gidMin) Compares this contents of this file to the contents of another file. -
Uses of PosixFile in com.aoapps.io.posix.linux
Modifier and TypeFieldDescriptionstatic final PosixFile
DevRandom.devRandomUF
The device file used to obtain and add random data.static final PosixFile
DevRandom.entropyAvailUF
The device file used to obtain the entropy statistics.static final PosixFile
DevRandom.poolSizeUF
The device file used to obtain the pool size.
Files.createTempFile(java.lang.String, java.lang.String, java.nio.file.attribute.FileAttribute...)
.