public class PomParser extends Object
| Constructor and Description |
|---|
PomParser() |
| Modifier and Type | Method and Description |
|---|---|
List<Dependency> |
getDependencies()
Gets the dependencies.
|
void |
parse(Component component,
InputStream inputStream)
Parses the.
|
void |
parse(Component component,
String strPOM)
Parses the.
|
void |
parse(Site site,
String strPOM)
Parses the.
|
static <T> T |
unmarshal(Class<T> docClass,
InputSource inputSource)
Unmarshal.
|
public List<Dependency> getDependencies()
public void parse(Site site, String strPOM)
site - the sitestrPOM - the str POMpublic void parse(Component component, String strPOM)
component - the componentstrPOM - the str POMpublic void parse(Component component, InputStream inputStream)
component - the componentinputStream - the input streampublic static <T> T unmarshal(Class<T> docClass, InputSource inputSource) throws JAXBException
T - the generic typedocClass - the doc classinputSource - the input sourceJAXBException - the JAXB exceptionCopyright © 2021 City of Paris. All rights reserved.