com.ibm.portal.spa.data
Class ZipDataURI

java.lang.Object
  extended by com.ibm.portal.resolver.uri.BaseURI
      extended by 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

Field Summary
 
Fields inherited from class com.ibm.portal.resolver.uri.BaseURI
LOG_LEVEL
 
Fields inherited from interface com.ibm.portal.spa.data.Constants
KEY_LOCALE, SCHEME_SPA_URI, SCHEME_ZIP_URI
 
Fields inherited from interface com.ibm.portal.resolver.uri.Constants
ESCAPE_CHAR, ESCAPE_STRG
 
Constructor Summary
ZipDataURI(java.net.URI uri)
          Parses the URI and decodes the filename
 
Method Summary
 java.lang.String getFileName()
           
static java.net.URI newInstance(java.lang.String zipFileName)
          Creates a new URI that points to a zip file associated with a specific page.
 
Methods inherited from class com.ibm.portal.resolver.uri.BaseURI
createURI, createURI, java.io.StringWriter)">decode, decode, decode, java.io.Writer, java.lang.String)">encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipDataURI

public ZipDataURI(java.net.URI uri)
Parses the URI and decodes the filename

Parameters:
uri - the SPA URI
Method Detail

newInstance

public static java.net.URI newInstance(java.lang.String zipFileName)
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