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

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

public class Parser
extends java.lang.Object

Parser for "cache" protocol.

Since:
0.6.0, June 02, 2009
Author:
Alin Dreghiciu

Constructor Summary
Parser(java.lang.String url)
          Creates a new protocol parser.
 
Method Summary
 java.net.URL getUrl()
          Return the parsed url.
 
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 url)
       throws java.net.MalformedURLException
Creates a new protocol parser.

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

getUrl

public java.net.URL getUrl()
Return the parsed url.

Returns:
parsed url


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