Message7877

Author amak
Recipients amak, dstromberg, fwierzbicki
Date 2013-03-01.00:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362097885.17.0.0691029995043.issue1736@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the only mention of inode anywhere in the java docs.

http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/BasicFileAttributes.html#fileKey%28%29

"""
Object fileKey()

Returns an object that uniquely identifies the given file, or null if a file key is not available. On some platforms or file systems it is possible to use an identifier, or a combination of identifiers to uniquely identify a file. Such identifiers are important for operations such as file tree traversal in file systems that support symbolic links or file systems that allow a file to be an entry in more than one directory. On UNIX file systems, for example, the device ID and inode are commonly used for such purposes.

The file key returned by this method can only be guaranteed to be unique if the file system and files remain static. Whether a file system re-uses identifiers after a file is deleted is implementation dependent and therefore unspecified.

File keys returned by this method can be compared for equality and are suitable for use in collections. If the file system and files remain static, and two files are the same with non-null file keys, then their file keys are equal.
"""
History
Date User Action Args
2013-03-01 00:31:25amaksetmessageid: <1362097885.17.0.0691029995043.issue1736@psf.upfronthosting.co.za>
2013-03-01 00:31:25amaksetrecipients: + amak, fwierzbicki, dstromberg
2013-03-01 00:31:25amaklinkissue1736 messages
2013-03-01 00:31:25amakcreate