Package org.apache.xmlgraphics.io
Class TempResourceURIGenerator
java.lang.Object
org.apache.xmlgraphics.io.TempResourceURIGenerator
Creates a URI for any temporary resource used within XGC.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicLong
private final String
static final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TMP_SCHEME
- See Also:
-
tempURIPrefix
-
counter
-
-
Constructor Details
-
TempResourceURIGenerator
- Parameters:
uriPrefix
- a prefix used to name the unique URI
-
-
Method Details
-
generate
Generate a unique URI for a temporary resource- Returns:
- the URI
-
getUniqueId
-
isTempURI
-