Class FileSystemDeployer
java.lang.Object
org.astonbitecode.j4rs.api.deploy.FileSystemDeployer
Deploys a resource to be used by j4rs.
-
Constructor Summary
ConstructorsConstructorDescriptionGenerates a defaultFileSystemDeployerwith target the working directoryFileSystemDeployer(String deployTarget) Generates aFileSystemDeployerdefining the deploy target -
Method Summary
-
Constructor Details
-
FileSystemDeployer
public FileSystemDeployer()Generates a defaultFileSystemDeployerwith target the working directory -
FileSystemDeployer
Generates aFileSystemDeployerdefining the deploy target- Parameters:
deployTarget- The target path for the deployments
-
-
Method Details
-
deploy
Deploys a resource. The resource may be automatically added to the classpath for j4rs- Parameters:
path- The path of the resource- Throws:
IOException- In case the path is invalid or the resource cannot be accessed
-