/** * Report the details of this processor. Should in general be overridden * * @param table * @throws Exception */ public void report(Map<String,Object> table) throws Exception { table.put("Included Files", getIncluded()); table.put("Base", getBase()); table.put("Properties", properties.entrySet()); }
public void setProperties(Properties properties) { doIncludes(getBase(), properties); this.properties.putAll(properties); }
/** * Report the details of this processor. Should in general be overridden * * @param table * @throws Exception */ public void report(Map<String,Object> table) throws Exception { table.put("Included Files", getIncluded()); table.put("Base", getBase()); table.put("Properties", properties.entrySet()); }
public void setProperties(Properties properties) { doIncludes(getBase(), properties); this.properties.putAll(properties); }
public void setProperties(Properties properties) { doIncludes(getBase(), properties); this.properties.putAll(properties); }
/** * Report the details of this processor. Should in general be overridden * * @param table * @throws Exception */ public void report(Map<String, Object> table) throws Exception { table.put("Included Files", getIncluded()); table.put("Base", getBase()); table.put("Properties", getProperties0().entrySet()); }
public String _fileuri(String args[]) throws Exception { Macro.verifyCommand(args, _fileuri, null, 2, 2); File f = IO.getFile(getBase(), args[1]) .getCanonicalFile(); return f.toURI() .toString(); }
/** * Report the details of this processor. Should in general be overridden * * @param table * @throws Exception */ public void report(Map<String, Object> table) throws Exception { table.put("Included Files", getIncluded()); table.put("Base", getBase()); table.put("Properties", getProperties0().entrySet()); }
public String _fileuri(String args[]) throws Exception { Macro.verifyCommand(args, _fileuri, null, 2, 2); File f = IO.getFile(getBase(), args[1]) .getCanonicalFile(); return f.toURI() .toString(); }
variable.append(domain.getBase().getAbsolutePath()); variable.append('/'); continue outer;
public void setProperties(Properties properties) { doIncludes(getBase(), properties); getProperties0().putAll(properties); mergeProperties(Constants.INIT); // execute macros in -init getProperties0().remove(Constants.INIT); }
Process process = Runtime.getRuntime().exec(command, null, domain.getBase()); if (input != null) { process.getOutputStream().write(input.getBytes("UTF-8"));
public void setProperties(Properties properties) { doIncludes(getBase(), properties); getProperties0().putAll(properties); mergeProperties(Constants.INIT); // execute macros in -init getProperties0().remove(Constants.INIT); }
.exec(command, null, domain.getBase()); if (input != null) { process.getOutputStream()
public void getInfo(Reporter processor, String prefix) { if (prefix == null) prefix = getBase() + " :"; if (isFailOk()) addAll(warnings, processor.getErrors(), prefix, processor); else addAll(errors, processor.getErrors(), prefix, processor); addAll(warnings, processor.getWarnings(), prefix, processor); processor.getErrors().clear(); processor.getWarnings().clear(); }
public void getInfo(Reporter processor, String prefix) { if (prefix == null) prefix = getBase() + " :"; if (isFailOk()) addAll(warnings, processor.getErrors(), prefix, processor); else addAll(errors, processor.getErrors(), prefix, processor); addAll(warnings, processor.getWarnings(), prefix, processor); processor.getErrors() .clear(); processor.getWarnings() .clear(); }
public void getInfo(Reporter processor, String prefix) { if (prefix == null) prefix = getBase() + " :"; if (isFailOk()) addAll(warnings, processor.getErrors(), prefix, processor); else addAll(errors, processor.getErrors(), prefix, processor); addAll(warnings, processor.getWarnings(), prefix, processor); processor.getErrors().clear(); processor.getWarnings().clear(); }
public void getInfo(Reporter processor, String prefix) { if (prefix == null) prefix = getBase() + " :"; if (isFailOk()) addAll(warnings, processor.getErrors(), prefix, processor); else addAll(errors, processor.getErrors(), prefix, processor); addAll(warnings, processor.getWarnings(), prefix, processor); processor.getErrors() .clear(); processor.getWarnings() .clear(); }
File file = new File(name); if (!file.isAbsolute()) file = new File(getBase(), name);
public void use(Processor reporter) { setPedantic(reporter.isPedantic()); setTrace(reporter.isTrace()); setBase(reporter.getBase()); setFailOk(reporter.isFailOk()); }