org.apache.xmlgraphics.io
Class TempResourceURIGenerator
java.lang.Object
org.apache.xmlgraphics.io.TempResourceURIGenerator
public final class TempResourceURIGenerator
- extends Object
Creates a URI for any temporary resource used within XGC.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMP_SCHEME
public static final String TMP_SCHEME
- See Also:
- Constant Field Values
TempResourceURIGenerator
public TempResourceURIGenerator(String uriPrefix)
- Parameters:
uriPrefix
- a prefix used to name the unique URI
generate
public URI generate()
- Generate a unique URI for a temporary resource
- Returns:
- the URI
isTempURI
public static boolean isTempURI(URI uri)
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.