com.ibm.portal.spa.data
Class ZipDataURI
java.lang.Object
com.ibm.portal.resolver.uri.BaseURI
com.ibm.portal.spa.data.ZipDataURI
- All Implemented Interfaces:
- Constants
-
public class ZipDataURI
- extends BaseURI
- implements Constants
URI to a file inside a ZIP
- Since:
- 6.1.0
Constructor Summary
|
ZipDataURI(java.net.URI uri)
Parses the URI and decodes the filename |
Methods inherited from class com.ibm.portal.resolver.uri.BaseURI
|
createURI, createURI, createURI, createURI, decode, decode, decode, decode, encode, encode, normalizeRawSchemeSpecificPart, normalizeRawSchemeSpecificPart |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipDataURI
public ZipDataURI(java.net.URI uri)
- Parses the URI and decodes the filename
- Parameters:
- uri - the SPA URI
newInstance
public static java.net.URI newInstance(java.lang.String zipFileName,
PocURIFactory uriFct)
throws java.net.URISyntaxException
- Creates a new URI that points to a zip file associated with a specific
page. The page itself is not encoded
- Parameters:
- zipFileName - the ZIP file name
- Returns:
- the URI
- Throws:
- java.net.URISyntaxException
- Since:
- 7.0
newInstance
@Deprecated
public static java.net.URI newInstance(java.lang.String zipFileName)
- Deprecated. use newInstance(String, PocURIFactory) instead
- Creates a new URI that points to a zip file associated with a specific
page. The page itself is not encoded
- Parameters:
- zipFileName - the ZIP file name
- Returns:
- the URI
getFileName
public java.lang.String getFileName()
- Returns:
- the fileName