Uses of Class
com.aoapps.io.posix.PosixFile
Packages that use PosixFile
-
Uses of PosixFile in com.aoapps.io.posix
Methods in com.aoapps.io.posix that return PosixFileModifier and TypeMethodDescriptionfinal PosixFilePosixFile.chown(int uid, int gid) Changes both the owner and group for a file.final PosixFilePosixFile.getParent()Gets the parent of this file ornullif it doesn't have a parent.final PosixFileCreates a hard link.final PosixFileCreates a hard link.final PosixFilePosixFile.mkdir()Creates a directory.final PosixFilePosixFile.mkdir(boolean makeParents, long mode) Creates a directory and sets its permissions, optionally creating all the parent directories if they do not exist.final PosixFilePosixFile.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 PosixFilePosixFile.mkfifo(long mode) Creates a FIFO.final PosixFilePosixFile.mknod(long mode, long device) Creates a device file.static PosixFileDeprecated, for removal: This API element is subject to removal in a future version.static PosixFileDeprecated, for removal: This API element is subject to removal in a future version.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 PosixFilePosixFile.setAccessTime(long atime) Deprecated.This method internally performs an extra stat.final PosixFilePosixFile.setGid(int gid) Deprecated.This method internally performs an extra stat.final PosixFilePosixFile.setGID(int gid) Deprecated, for removal: This API element is subject to removal in a future version.Please usesetGid(int)instead.final PosixFilePosixFile.setMode(long mode) Sets the permissions for this file.final PosixFilePosixFile.setModifyTime(long mtime) Deprecated.This method internally performs an extra stat.final PosixFilePosixFile.setUid(int uid) Deprecated.This method internally performs an extra stat.final PosixFilePosixFile.setUID(int uid) Deprecated, for removal: This API element is subject to removal in a future version.Please usesetUid(int)instead.final PosixFileCreates a symbolic link.final PosixFilePosixFile.utime(long atime, long mtime) Sets the access and modify times for this file.Methods in com.aoapps.io.posix with parameters of type PosixFileModifier and TypeMethodDescriptionbooleanPosixFile.contentEquals(PosixFile otherFile) Compares this contents of this file to the contents of another file.voidCopies one filesystem object to another.final PosixFileCreates a hard link.final voidRenames this file, possibly overwriting any previous file.booleanPosixFile.secureContentEquals(PosixFile otherFile, int uidMin, int gidMin) Compares this contents of this file to the contents of another file.Constructors in com.aoapps.io.posix with parameters of type PosixFile -
Uses of PosixFile in com.aoapps.io.posix.linux
Fields in com.aoapps.io.posix.linux declared as PosixFileModifier and TypeFieldDescriptionstatic final PosixFileDevRandom.devRandomUFThe device file used to obtain and add random data.static final PosixFileDevRandom.entropyAvailUFThe device file used to obtain the entropy statistics.static final PosixFileDevRandom.poolSizeUFThe device file used to obtain the pool size.

Files.createTempFile(java.lang.String, java.lang.String, java.nio.file.attribute.FileAttribute...).