APIdia Launch Partner
Top Description Fields Constructors Methods
sun.nio.fs

pack-priv Class LinuxFileStore

extends UnixFileStore
Class Inheritance
Imports
java.io.IOException, java.nio.file.attribute.DosFileAttributeView, .FileAttributeView, .PosixFileAttributeView, .UserDefinedFileAttributeView, java.util.Arrays, .List

Linux implementation of FileStore

Field Summary

Modifier and TypeField and Description
private volatile boolean
private volatile boolean

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv UnixMountEntry
findMountEntry()

Implements abstract sun.nio.fs.UnixFileStore.findMountEntry.

Finds, and returns, the mount entry for the file system where the file resides.

public boolean
supportsFileAttributeView(Class<? extends FileAttributeView> type)

Overrides sun.nio.fs.UnixFileStore.supportsFileAttributeView.

Tells whether or not this file store supports the file attributes identified by the given file attribute view.

public boolean
supportsFileAttributeView(String name)

Overrides sun.nio.fs.UnixFileStore.supportsFileAttributeView.

Tells whether or not this file store supports the file attributes identified by the given file attribute view.

Inherited from sun.nio.fs.UnixFileStore:
checkIfFeaturePresentdeventryequalsfilegetAttributegetBlockSizegetFileStoreAttributeViewgetTotalSpacegetUnallocatedSpacegetUsableSpacehashCodeisExtendedAttributesEnabledisReadOnlynametoStringtype

Field Detail

xattrCheckedback to summary
private volatile boolean xattrChecked
xattrEnabledback to summary
private volatile boolean xattrEnabled

Constructor Detail

LinuxFileStoreback to summary
pack-priv LinuxFileStore(UnixPath file) throws IOException
LinuxFileStoreback to summary
pack-priv LinuxFileStore(UnixFileSystem fs, UnixMountEntry entry) throws IOException

Method Detail

findMountEntryback to summary
pack-priv UnixMountEntry findMountEntry() throws IOException

Implements abstract sun.nio.fs.UnixFileStore.findMountEntry.

Finds, and returns, the mount entry for the file system where the file resides.

Annotations
@Override
supportsFileAttributeViewback to summary
public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)

Overrides sun.nio.fs.UnixFileStore.supportsFileAttributeView.

Doc from java.nio.file.FileStore.supportsFileAttributeView.

Tells whether or not this file store supports the file attributes identified by the given file attribute view.

Invoking this method to test if the file store supports BasicFileAttributeView will always return true. In the case of the default provider, this method cannot guarantee to give the correct result when the file store is not a local storage device. The reasons for this are implementation specific and therefore unspecified.

Annotations
@Override
supportsFileAttributeViewback to summary
public boolean supportsFileAttributeView(String name)

Overrides sun.nio.fs.UnixFileStore.supportsFileAttributeView.

Doc from java.nio.file.FileStore.supportsFileAttributeView.

Tells whether or not this file store supports the file attributes identified by the given file attribute view.

Invoking this method to test if the file store supports BasicFileAttributeView, identified by the name "basic" will always return true. In the case of the default provider, this method cannot guarantee to give the correct result when the file store is not a local storage device. The reasons for this are implementation specific and therefore unspecified.

Annotations
@Override