|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.soebes.maven.plugins.mlv.licenses.LicensesFile
public class LicensesFile
This class will serve methods for loading the licenses.xml file.
| Constructor Summary | |
|---|---|
LicensesFile()
|
|
| Method Summary | |
|---|---|
static LicensesContainer |
getLicenses(File licenseFile)
Load the licenses.xml file and convert it into LicenseContainer class to have the information of the licenses.xml file available. |
static LicensesContainer |
getLicenses(InputStream licensesInputStream)
Load the licenses.xml file from an InputStream which usually means via getResourceAsStream(). |
static String |
toString(LicensesContainer licensesContainer)
We convert the LicensesContainer into a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LicensesFile()
| Method Detail |
|---|
public static LicensesContainer getLicenses(File licenseFile)
throws IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
licenseFile -
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public static LicensesContainer getLicenses(InputStream licensesInputStream)
throws IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
licensesInputStream - The input stream where to load the license file from.
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException
public static String toString(LicensesContainer licensesContainer)
throws IOException
licensesContainer -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||