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.Pathcanonical(java.nio.file.Path file)java.io.InputStreamopen(java.nio.file.Path file)java.nio.file.Pathreference(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)java.nio.file.PathreferenceLocationPath(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:
canonicalin 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:
referencein 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:
referenceLocationPathin interfaceContentResolver
-
open
@Nonnull @WillNotClose public java.io.InputStream open(java.nio.file.Path file)
- Specified by:
openin interfaceContentResolver
-
-