org.jcp.xml.dsig.internal.dom
Class Utils

java.lang.Object
  extended by org.jcp.xml.dsig.internal.dom.Utils

public final class Utils
extends Object

Disabled: no SafeJ information.

Miscellaneous static utility methods for use in JSR 105 RI.


Method Summary
static String parseIdFromSameDocumentURI(String uri)
          Returns the ID from a same-document URI (ex: "#id")
static byte[] readBytesFromStream(InputStream is)
           
static boolean sameDocumentURI(String uri)
          Returns true if uri is a same-document URI, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readBytesFromStream

public static byte[] readBytesFromStream(InputStream is)
                                  throws IOException
Class is disabled.

Throws:
IOException

parseIdFromSameDocumentURI

public static String parseIdFromSameDocumentURI(String uri)
Class is disabled.

Returns the ID from a same-document URI (ex: "#id")


sameDocumentURI

public static boolean sameDocumentURI(String uri)
Class is disabled.

Returns true if uri is a same-document URI, false otherwise.