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

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

public class Parser
extends Object

Parser for "cache" protocol.

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

Constructor Summary
Parser(String url)
          Creates a new protocol parser.
 
Method Summary
 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(String url)
       throws MalformedURLException
Creates a new protocol parser.

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

getUrl

public URL getUrl()
Return the parsed url.

Returns:
parsed url


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