| Method from org.apache.xmlbeans.impl.tool.CommandLine Detail: |
public String[] args() {
String[] result = new String[_args.length];
System.arraycopy(_args, 0, result, 0, _args.length);
return result;
}
|
public File[] filesEndingWith(String ext) {
List result = new ArrayList();
for (Iterator i = getFileList().iterator(); i.hasNext(); )
{
File f = (File)i.next();
if (f.getName().endsWith(ext) && !looksLikeURL(f.getPath()))
result.add(f);
}
return (File[])result.toArray(EMPTY_FILEARRAY);
}
|
public String[] getBadOpts() {
return _badopts;
}
|
public File getBaseDir() {
return _baseDir;
}
|
public File[] getFiles() {
return (File[])getFileList().toArray(EMPTY_FILEARRAY);
}
|
public String getOpt(String opt) {
return (String)_options.get(opt);
}
|
public URL[] getURLs() {
return (URL[]) getUrlList().toArray(EMPTY_URLARRAY);
}
|
public static void printLicense() {
try
{
IOUtil.copyCompletely(CommandLine.class.getClassLoader().getResourceAsStream("LICENSE.txt"), System.out);
}
catch (Exception e)
{
System.out.println("License available in this JAR in LICENSE.txt");
}
}
|
public static void printVersion() {
System.out.println(XmlBeans.getVendor() + ", " + XmlBeans.getTitle() + ".XmlBeans version " + XmlBeans.getVersion());
}
|