Interface ContentResolver
-
- All Known Implementing Classes:
FileContentResolver,ResourceContentResolver
public interface ContentResolverUntility for resolving file paths and opening them.
-
-
Method Summary
All Methods Instance Methods Abstract 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 java.nio.file.Path canonical(java.nio.file.Path file) throws java.io.IOException- Throws:
java.io.IOException
-
reference
@Nonnull java.nio.file.Path reference(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)
-
referenceLocationPath
@Nonnull java.nio.file.Path referenceLocationPath(java.nio.file.Path referenceLocation, java.nio.file.Path from, java.lang.String reference)
-
open
@Nonnull @WillNotClose java.io.InputStream open(java.nio.file.Path file) throws java.io.IOException- Throws:
java.io.IOException
-
-