Interface IResource
-
- All Known Implementing Classes:
Resource
public interface IResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<?>
getKlass()
default ICloseableSupplier<Path>
getPath()
String
getResource()
default InputStream
getResourceAsStream(boolean assertExists)
default URL
getURL()
default boolean
isExists()
default String
read(boolean newline)
-
-
-
Method Detail
-
getKlass
Class<?> getKlass()
-
getPath
default ICloseableSupplier<Path> getPath()
-
getResource
String getResource()
-
getResourceAsStream
default InputStream getResourceAsStream(boolean assertExists)
-
getURL
default URL getURL()
-
isExists
default boolean isExists()
-
read
default String read(boolean newline)
-
-