Class ResourceContentResolver
- java.lang.Object
-
- net.morimekta.providence.config.util.ResourceContentResolver
-
- All Implemented Interfaces:
ContentResolver
public class ResourceContentResolver extends java.lang.Object implements ContentResolver
-
-
Constructor Summary
Constructors Constructor Description ResourceContentResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.Path
canonical(java.nio.file.Path file)
java.io.InputStream
open(java.nio.file.Path file)
java.nio.file.Path
reference(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)
java.nio.file.Path
referenceLocationPath(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)
-
-
-
Method Detail
-
canonical
@Nonnull public java.nio.file.Path canonical(java.nio.file.Path file)
- Specified by:
canonical
in interfaceContentResolver
-
reference
@Nonnull public java.nio.file.Path reference(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)
- Specified by:
reference
in interfaceContentResolver
-
referenceLocationPath
@Nonnull public java.nio.file.Path referenceLocationPath(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)
- Specified by:
referenceLocationPath
in interfaceContentResolver
-
open
@Nonnull @WillNotClose public java.io.InputStream open(java.nio.file.Path file)
- Specified by:
open
in interfaceContentResolver
-
-