org.ops4j.pax.url.classpath.internal
Class Parser
java.lang.Object
org.ops4j.pax.url.classpath.internal.Parser
public class Parser
- extends Object
Parser for classpath: protocol.
- Since:
- August 15, 2007
- Author:
- Alin Dreghiciu
- See Also:
Connection
Constructor Summary |
Parser(String path)
Creates a new protocol parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parser
public Parser(String path)
throws MalformedURLException
- Creates a new protocol parser.
- Parameters:
path
- the path part of the url (without starting classpath:)
- Throws:
MalformedURLException
- if provided path does not comply to expected syntax
getResourceName
public String getResourceName()
- Return the parsed resource name.
- Returns:
- parsed resource name
Copyright © 2006-2013 OPS4J - Open Participation Software for Java. All Rights Reserved.