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 TypMethodeBeschreibunglongReturns the last modified date in milliseconds since the epoch.
Defaults to 0 when no lastMod can be provided.open()Creates anInputStreamfor 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:AbstractResourceReturns the last modified date in milliseconds since the epoch.
Defaults to 0 when no lastMod can be provided.- Setzt außer Kraft:
getLastModin KlasseAbstractResource- Gibt zurück:
- long
-
open
Beschreibung aus Klasse kopiert:AbstractResourceCreates anInputStreamfor the underlying resource.
The call must take care of closing this stream!- Angegeben von:
openin KlasseAbstractResource- Gibt zurück:
- InputStream
- Löst aus:
IOException- when opening stream fails
-