public interface Environment
Modifier and Type | Method and Description |
---|---|
File |
basedir()
Get project's basedir.
|
ClassLoader |
classloader()
Get classloader for this project.
|
Collection<File> |
classpath()
Get list of paths in classpath.
|
Collection<File> |
files(String pattern)
Returns collection of files, matching the specified pattern.
|
File |
outdir()
Get directory where .class files are stored.
|
String |
param(String name,
String value)
Get parameter by name, and return default if it's not set.
|
File |
tempdir()
Get directory to keep temporary files in.
|
File basedir()
File tempdir()
File outdir()
String param(String name, String value)
name
- The name of parametervalue
- Default value to return as defaultClassLoader classloader()
Collection<File> classpath()
Collection<File> files(String pattern)
pattern
- File name pattern.Copyright © 2011-2012 Qulice.com. All Rights Reserved.