public class Macro extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
_fileHelp |
static String |
_fmodifiedHelp |
static String |
_nowHelp |
static String |
_sizeHelp |
| Constructor and Description |
|---|
Macro(Processor domain,
Object... targets) |
| Modifier and Type | Method and Description |
|---|---|
String |
_basename(String[] args) |
String |
_cat(String[] args)
Get the contents of a file.
|
String |
_currenttime(String[] args) |
String |
_def(String[] args) |
String |
_dir(String[] args) |
String |
_env(String[] args) |
String |
_error(String[] args) |
String |
_filter(String[] args) |
String |
_filterout(String[] args) |
String |
_fmodified(String[] args) |
String |
_if(String[] args) |
String |
_isdir(String[] args) |
String |
_isfile(String[] args) |
String |
_join(String[] args) |
String |
_literal(String[] args) |
String |
_long2date(String[] args) |
String |
_lsa(String[] args) |
String |
_lsr(String[] args)
Wildcard a directory.
|
Object |
_now(String[] args) |
String |
_nsort(String[] args) |
String |
_osfile(String[] args) |
String |
_path(String[] args) |
String |
_pathseparator(String[] args) |
String |
_range(String[] args) |
String |
_replace(String[] args)
replace ;
|
String |
_separator(String[] args) |
int |
_size(String[] args) |
String |
_sort(String[] args) |
String |
_system_allow_fail(String[] args) |
String |
_system(String[] args) |
String |
_toclassname(String[] args) |
String |
_toclasspath(String[] args) |
String |
_tstamp(String[] args) |
String |
_unescape(String[] args) |
String |
_uniq(String[] args) |
String |
_version(String[] args) |
String |
_warning(String[] args) |
Properties |
getFlattenedProperties()
Take all the properties and translate them to actual values.
|
Properties |
getFlattenedProperties(boolean ignoreInstructions)
Take all the properties and translate them to actual values.
|
protected String |
getMacro(String key,
aQute.bnd.osgi.Macro.Link link) |
static Properties |
getParent(Properties p) |
static char |
getTerminator(char c) |
boolean |
isNosystem() |
String |
process(String line) |
String |
process(String line,
Processor source) |
String |
replace(String key,
aQute.bnd.osgi.Macro.Link link) |
boolean |
setNosystem(boolean nosystem) |
String |
system_internal(boolean allowFail,
String[] args)
System command.
|
static void |
verifyCommand(String[] args,
String help,
Pattern[] patterns,
int low,
int high) |
public static final String _nowHelp
public static final String _fmodifiedHelp
public static final String _fileHelp
public static final String _sizeHelp
public static char getTerminator(char c)
public String _replace(String[] args)
args - public String _lsr(String[] args)
public String system_internal(boolean allowFail, String[] args) throws Exception
args - help - patterns - low - high - Exceptionpublic String _system_allow_fail(String[] args) throws Exception
Exceptionpublic String _cat(String[] args) throws IOException
in - IOExceptionpublic static void verifyCommand(String[] args, String help, Pattern[] patterns, int low, int high)
public Properties getFlattenedProperties()
There are some rules
public Properties getFlattenedProperties(boolean ignoreInstructions)
Property names starting with an underscore ('_') are ignored. These are reserved for properties that cause an unwanted side effect when expanded unnecessary
public int _size(String[] args)
public static Properties getParent(Properties p)
public boolean isNosystem()
public boolean setNosystem(boolean nosystem)
Copyright © 2014 aQute SARL. All rights reserved.