Klasse PathResource
java.lang.Object
com.github.hypfvieh.java.rtcompiler.resources.locator.AbstractResource
com.github.hypfvieh.java.rtcompiler.resources.locator.PathResource
Resource based on a
Path
.- Seit:
- 1.0.0 - 2024-01-26
- Autor:
- hypfvieh
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglong
Returns the last modified date in milliseconds since the epoch.
Defaults to 0 when no lastMod can be provided.open()
Creates anInputStream
for the underlying resource.
The call must take care of closing this stream!Von Klasse geerbte Methoden com.github.hypfvieh.java.rtcompiler.resources.locator.AbstractResource
getResourceName
-
Konstruktordetails
-
PathResource
-
-
Methodendetails
-
getLastMod
public long getLastMod()Beschreibung aus Klasse kopiert:AbstractResource
Returns the last modified date in milliseconds since the epoch.
Defaults to 0 when no lastMod can be provided.- Setzt außer Kraft:
getLastMod
in KlasseAbstractResource
- Gibt zurück:
- long
-
open
Beschreibung aus Klasse kopiert:AbstractResource
Creates anInputStream
for the underlying resource.
The call must take care of closing this stream!- Angegeben von:
open
in KlasseAbstractResource
- Gibt zurück:
- InputStream
- Löst aus:
IOException
- when opening stream fails
-