Package org.bedework.tools.xmlutil
Class LicensesUtil
- java.lang.Object
-
- org.bedework.tools.xmlutil.LicensesUtil
-
- All Implemented Interfaces:
org.bedework.util.logging.Logged
public class LicensesUtil extends Object implements org.bedework.util.logging.Logged
Print out licence info.- Author:
- Mike Douglass
-
-
Constructor Summary
Constructors Constructor Description LicensesUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bedework.util.logging.BwLoggergetLogger()static voidmain(String[] args)Mainprotected voidmarshal(org.bedework.schemas.licenses.JarLicensesType jls, OutputStream out)booleanprocess()protected javax.xml.bind.JAXBElement<org.bedework.schemas.licenses.JarLicensesType>unmarshal(InputStream in)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warn
-
-
-
-
Method Detail
-
process
public boolean process() throws Throwable- Returns:
- true if processing went ok
- Throws:
Throwable
-
main
public static void main(String[] args)
Main- Parameters:
args-
-
marshal
protected void marshal(org.bedework.schemas.licenses.JarLicensesType jls, OutputStream out) throws Throwable- Throws:
Throwable
-
unmarshal
protected javax.xml.bind.JAXBElement<org.bedework.schemas.licenses.JarLicensesType> unmarshal(InputStream in) throws Throwable
- Throws:
Throwable
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()
- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged
-
-