flux.file
Interface FileCriteria

All Known Subinterfaces:
IncludesFileCriteria, SingleFileCriteria, TargetFileCriteria

public interface FileCriteria

Represents a group of files and directories that are used in a file operation.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 Host getHost()
          Returns the network host where these files are located.
 void setHost(Host host)
          Sets the network host where these files are located.
 

Method Detail

getHost

Host getHost()
Returns the network host where these files are located. Defaults to LocalHost, which represents the local file system.

Returns:
The network host where these files are located.

setHost

void setHost(Host host)
Sets the network host where these files are located. Defaults to LocalHost, which represents the local file system. Overrides the base directory setting to "/" by default. This setHost() method should be called before setting the base directory to preserve any base directory settings.

Parameters:
host - The network host where these files are located.
Throws:
java.lang.IllegalArgumentException - If the argument is null or empty.


© 2014 Flux Corporation. All rights reserved.