APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.agent

public abstract Class FileSystem

extends Object
Class Inheritance
Known Direct Subclasses
jdk.internal.agent.FileSystemImpl
Imports
java.io.File, .IOException

Field Summary

Modifier and TypeField and Description
private static FileSystem
private static final Object

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public abstract boolean
isAccessUserOnly(File f)

Tell whether or not the specified file is accessible by anything other than the file owner.

public static FileSystem
open()

Opens the file system

public abstract boolean
supportsFileSecurity(File f)

Tells whether or not the specified file is located on a file system that supports file security or not.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fsback to summary
private static FileSystem fs
lockback to summary
private static final Object lock

Constructor Detail

FileSystemback to summary
protected FileSystem()

Method Detail

isAccessUserOnlyback to summary
public abstract boolean isAccessUserOnly(File f) throws IOException

Tell whether or not the specified file is accessible by anything other than the file owner.

Exceptions
IOException:
if an I/O error occurs.
UnsupportedOperationException:
If file is located on a file system that doesn't support file security.
openback to summary
public static FileSystem open()

Opens the file system

supportsFileSecurityback to summary
public abstract boolean supportsFileSecurity(File f) throws IOException

Tells whether or not the specified file is located on a file system that supports file security or not.

Exceptions
IOException:
if an I/O error occurs.