org.ops4j.pax.url.cache.internal
Class Parser
java.lang.Object
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 |
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
getUrl
public URL getUrl()
- Return the parsed url.
- Returns:
- parsed url
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.