Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary
`static String` | `TMP_SCHEME`

Constructor Summary
`TempResourceURIGenerator(String uriPrefix)`

Method Summary
`URI` | `generate()` Generate a unique URI for a temporary resource
`static boolean` | `isTempURI(URI uri)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### TMP_SCHEME

    public static final String TMP_SCHEME

See Also:
  Constant Field Values

Constructor Detail

### TempResourceURIGenerator

    public TempResourceURIGenerator(String uriPrefix)

Parameters:
  `uriPrefix` - a prefix used to name the unique URI

Method Detail

### generate

    public URI generate()

  Generate a unique URI for a temporary resource

  Returns:
    the URI

### isTempURI

    public static boolean isTempURI(URI uri)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.