Package org.codehaus.mojo.buildhelper
Class ReserveListenerPortMojo.UrlResource
java.lang.Object
org.codehaus.mojo.buildhelper.ReserveListenerPortMojo.UrlResource
- Enclosing class:
ReserveListenerPortMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private String
private boolean
private static final String
private InputStream
private final URL
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLASSPATH_PREFIX
- See Also:
-
SLASH_PREFIX
- See Also:
-
url
-
isMissingClasspathResouce
private boolean isMissingClasspathResouce -
classpathUrl
-
stream
-
-
Constructor Details
-
UrlResource
UrlResource(String url) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
-
Method Details
-
getInputStream
- Throws:
IOException
-
canBeOpened
public boolean canBeOpened() -
openStream
- Throws:
IOException
-
toString
-