com.ibm.portal.resolver.uri
Class BaseURI

java.lang.Object
  extended by com.ibm.portal.resolver.uri.BaseURI
All Implemented Interfaces:
Constants
Direct Known Subclasses:
PortletURI, SpaURI, ZipDataURI

public abstract class BaseURI
extends java.lang.Object
implements Constants

Base class for URI implementations that facilitates the URL encoding and decoding process.


Field Summary
protected static int LOG_LEVEL
          Default logging level
 
Fields inherited from interface com.ibm.portal.resolver.uri.Constants
ESCAPE_CHAR, ESCAPE_STRG
 
Constructor Summary
BaseURI()
           
 
Method Summary
static java.net.URI createURI(java.lang.String uriStrg)
          Deprecated. 
static java.net.URI createURI(java.lang.String scheme, java.lang.String part)
          Deprecated. 
protected static java.lang.String java.io.StringWriter)">decode(java.lang.String strg, int off, int len, java.io.StringWriter out)
           
protected static java.lang.String java.io.StringWriter)">decode(java.lang.String strg, int off, java.io.StringWriter out)
           
protected static java.lang.String java.io.StringWriter)">decode(java.lang.String strg, java.io.StringWriter out)
          Decodes a string fragment
protected static java.io.Writer java.io.Writer, java.lang.String)">encode(java.io.Writer out, java.lang.String strg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_LEVEL

protected static final int LOG_LEVEL
Default logging level

Constructor Detail

BaseURI

public BaseURI()
Method Detail

createURI

@Deprecated
public static final java.net.URI createURI(java.lang.String uriStrg)
Deprecated. 

Creates a URI under the assumption that the string is valid

Parameters:
uriStrg - URI string to check
Returns:
the URI

createURI

@Deprecated
public static final java.net.URI createURI(java.lang.String scheme,
                                                      java.lang.String part)
Deprecated. 

Creates a URI under the assumption that the string is valid

Parameters:
uriStrg - URI string to check
Returns:
the URI

java.io.StringWriter)">

decode

protected static java.lang.String decode(java.lang.String strg,
                                         java.io.StringWriter out)
                                  throws java.io.IOException
Decodes a string fragment

Parameters:
strg -
out -
Returns:
Throws:
java.io.IOException

java.io.StringWriter)">

decode

protected static java.lang.String decode(java.lang.String strg,
                                         int off,
                                         int len,
                                         java.io.StringWriter out)
                                  throws java.io.IOException
Parameters:
strg -
off -
len -
out -
Returns:
Throws:
java.io.IOException

java.io.StringWriter)">

decode

protected static java.lang.String decode(java.lang.String strg,
                                         int off,
                                         java.io.StringWriter out)
                                  throws java.io.IOException
Parameters:
strg -
off -
out -
Returns:
Throws:
java.io.IOException

java.io.Writer, java.lang.String)">

encode

protected static java.io.Writer encode(java.io.Writer out,
                                       java.lang.String strg)
                                throws java.io.IOException
Parameters:
out -
strg -
Returns:
Throws:
java.io.IOException