public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
public static byte[] readBytesFromStream(InputStream is) throws IOException
IOException
public static String parseIdFromSameDocumentURI(String uri)
public static boolean sameDocumentURI(String uri)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.