Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionPlease provide the algorithm and call
PosixFile.crypt(java.lang.String, com.aoapps.io.posix.PosixFile.CryptAlgorithm)
instead.Please provide the algorithm and callPosixFile.crypt(java.lang.String, com.aoapps.io.posix.PosixFile.CryptAlgorithm, java.security.SecureRandom)
instead.Please use getStat(Stat).exists()Please use getStat(Stat).getAccessTime()Please use getStat(State).getBlockCount()Please use getStat(Stat).getBlockSize()Please use getStat(Stat).getChangeTime()Please use getStat(Stat).getDevice()Please use getStat(Stat).getDeviceIdentifier()the use of the wordfilename
is misleading since it represents the entire path, please usegetPath()
instead.Please use getStat(Stat).getGid()Please use getStat(Stat).getInode()Please use getStat(Stat).getNumberLinks()Please use getStat(Stat).getMode()Please use getStat(Stat).getModeString()Please use getStat(Stat).getModifyTime()Please use getStat(Stat).getSize()Please use getStat(Stat).getRawMode()Please use getStat(Stat).getUid()Please use getStat(Stat).isBlockDevice()Please use getStat(Stat).isCharacterDevice()Please use getStat(Stat).isDirectory()Please use getStat(Stat).isFifo()Please use getStat(Stat).isRegularFile()Please use getStat(Stat).isSocket()Please use getStat(Stat).isSymLink()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.Please usePosixFile.setGid(int)
instead.Please usePosixFile.setUid(int)
instead.
-
Deprecated MethodsMethodDescriptionPlease provide the algorithm and call
PosixFile.crypt(java.lang.String, com.aoapps.io.posix.PosixFile.CryptAlgorithm)
instead.Please provide the algorithm and callPosixFile.crypt(java.lang.String, com.aoapps.io.posix.PosixFile.CryptAlgorithm, java.security.SecureRandom)
instead.Please use getStat(Stat).exists()Please use getStat(Stat).getAccessTime()Please use getStat(State).getBlockCount()Please use getStat(Stat).getBlockSize()Please use getStat(Stat).getChangeTime()Please use getStat(Stat).getDevice()Please use getStat(Stat).getDeviceIdentifier()the use of the wordfilename
is misleading since it represents the entire path, please usegetPath()
instead.Please use getStat(Stat).getGid()Please use getStat(Stat).getInode()Please use getStat(Stat).getNumberLinks()Please use getStat(Stat).getMode()Please use getStat(Stat).getModeString()Please use getStat(Stat).getModifyTime()Please use getStat(Stat).getSize()Please use getStat(Stat).getRawMode()Please use getStat(Stat).getUid()Please use getStat(Stat).isBlockDevice()Please use getStat(Stat).isCharacterDevice()Please use getStat(Stat).isDirectory()Please use getStat(Stat).isFifo()Please use getStat(Stat).isRegularFile()Please use getStat(Stat).isSocket()Please use getStat(Stat).isSymLink()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.This method internally performs an extra stat. Please try to use utime(long,long) directly to avoid this extra stat.This method internally performs an extra stat. Please try to use chown(int,int) directly to avoid this extra stat.Please usePosixFile.setGid(int)
instead.This method internally performs an extra stat. Please try to use utime(long,long) directly to avoid this extra stat.This method internally performs an extra stat. Please try to use chown(int,int) directly to avoid this extra stat.Please usePosixFile.setUid(int)
instead.
-
Deprecated ConstructorsConstructorDescriptionPlease call #PosixFile(PosixFile,String,boolean) to explicitly control whether strict parent checking is performed
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis is the old-school weakest form, do not use unless somehow absolutely required.As of glibc 2.7, prefer the stronger
PosixFile.CryptAlgorithm.SHA256
andPosixFile.CryptAlgorithm.SHA512
alternatives.