saker.build Documentation TaskDoc JavaDoc Packages
@RMIWrap(SimpleProviderHolderPathKey.RMITransferWrapper.class)
public final class SimpleProviderHolderPathKey extends BasicPathKey implements ProviderHolderPathKey
Simple ProviderHolderPathKey implementation only holding the necessary attributes.
Constructors
public
Creates a new path key instance by copying the membery from the argument.
public
Creates a new path key by replacing the path from an existing one.
public
Creates a path key for the given argument members.
public
Creates a new path key for the path and provider arguments.
Methods
public SakerFileProvider
The file provider that is associated to the path key.
public RootFileProviderKey
Gets the root file provider key that is associated with the path.
public SakerPath
Gets the path of the file location.
Creates a new path key instance by copying the membery from the argument.
keyThe path key to base this instance on.
NullPointerExceptionIf the argument is null.
Creates a new path key by replacing the path from an existing one.
keyThe path key to base the provider attributes on.
pathThe path to use for this path key.
NullPointerExceptionIf any argument is null.
IllegalArgumentExceptionIf the path is not absolute.
Creates a path key for the given argument members.

It is not checked that the given provider key corresponds to the given file provider.

pathThe path.
fileProviderThe file provider.
providerKeyThe key for the file provider.
NullPointerExceptionIf any of the arguments are null.
IllegalArgumentExceptionIf the path is not absolute.
Creates a new path key for the path and provider arguments.

The file provider argument must be a root file provider.

No further checks are made on the arguments. The path may not point to a valid path on the file provider. I.e. it is not checked that the path has a valid root on the file provider.

fileProviderThe file provider.
pathThe path.
NullPointerExceptionIf any of the arguments are null.
IllegalArgumentExceptionIf the file provider is not a root provider or if the path is not absolute.
Overridden from: ProviderHolderPathKey
The file provider that is associated to the path key.
The file provider.
Overridden from: PathKey
Gets the root file provider key that is associated with the path.
The root file provider.
Overridden from: PathKey
Gets the path of the file location.
The path.