Package de.svws_nrw.transpiler
Klasse TranspilerResource
java.lang.Object
de.svws_nrw.transpiler.TranspilerResource
This class represents the content of a resource file that is associated with
a java class and that is used by a language plugin.
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungTranspilerResource
(String packageName, String className, String extension, Path path) Create a new transpiler resource object and reads the file content. -
Methodenübersicht
-
Felddetails
-
packageName
the package name of the associated class -
className
the name of the associated class -
extension
the files extension of the resource file -
path
the path of the resource file -
data
the content of the resource file as an UTF-8 string
-
-
Konstruktordetails
-
TranspilerResource
public TranspilerResource(String packageName, String className, String extension, Path path) throws IOException Create a new transpiler resource object and reads the file content.- Parameter:
packageName
- the package name of the associated classclassName
- the name of the associated classextension
- the files extension of the resource filepath
- the path of the resource file- Löst aus:
IOException
- this exception is thrown if the resource file data cannot be read
-