public class MavenEntry
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.File |
getArtifact() |
java.io.File |
getArtifactFile() |
CachedPom |
getPom(java.net.URI[] urls)
This is the method to get the POM for a cached entry.
|
java.io.File |
getPomFile() |
protected java.util.Properties |
getProperties()
Answer the properties, loading if needed.
|
void |
remove() |
public java.io.File getArtifactFile()
public CachedPom getPom(java.net.URI[] urls) throws java.lang.Exception
urls
- The allowed URLsjava.lang.Exception
- If something goes haywireprotected java.util.Properties getProperties()
public java.io.File getArtifact() throws java.lang.Exception
java.lang.Exception
public java.io.File getPomFile()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void remove()