Class FileContentResolver
- java.lang.Object
-
- net.morimekta.providence.config.util.FileContentResolver
-
- All Implemented Interfaces:
ContentResolver
public class FileContentResolver extends java.lang.Object implements ContentResolver
-
-
Constructor Summary
Constructors Constructor Description FileContentResolver()
-
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) throws java.io.IOException- Specified by:
canonicalin interfaceContentResolver- Throws:
java.io.IOException
-
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) throws java.io.IOException- Specified by:
openin interfaceContentResolver- Throws:
java.io.IOException
-
-