org.ops4j.pax.url.classpath.internal
Class Parser

java.lang.Object
  extended by org.ops4j.pax.url.classpath.internal.Parser

public class Parser
extends java.lang.Object

Parser for classpath: protocol.

Since:
August 15, 2007
Author:
Alin Dreghiciu
See Also:
Connection

Constructor Summary
Parser(java.lang.String path)
          Creates a new protocol parser.
 
Method Summary
 java.lang.String getResourceName()
          Return the parsed resource name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(java.lang.String path)
       throws java.net.MalformedURLException
Creates a new protocol parser.

Parameters:
path - the path part of the url (without starting classpath:)
Throws:
java.net.MalformedURLException - if provided path does not comply to expected syntax
Method Detail

getResourceName

public java.lang.String getResourceName()
Return the parsed resource name.

Returns:
parsed resource name


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.