Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenContext
java.lang.Object
org.acplt.oncrpc.apps.jrpcgen.JrpcgenContext
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionFull name of the current source code file.The x-file to parse (not: the X Files, the latter ones are something completely different). -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Create a new hash function object and initialize it using a class and package name.getInterfaceName(String programId) final Stringstatic Stringnewline()static JrpcgenContextopen(JrpcgenOptions options, File xFile, String jrpcgenVersion) static JrpcgenContextopen(JrpcgenOptions options, String xfilename, String jrpcgenVersion) final JrpcgenOptionsoptions()voidreset()
-
Field Details
-
xFile
The x-file to parse (not: the X Files, the latter ones are something completely different). -
currentFilename
Full name of the current source code file.
-
-
Method Details
-
newline
-
open
public static JrpcgenContext open(JrpcgenOptions options, File xFile, String jrpcgenVersion) throws IOException - Throws:
IOException
-
open
public static JrpcgenContext open(JrpcgenOptions options, String xfilename, String jrpcgenVersion) throws IOException - Throws:
IOException
-
getJrpcgenVersion
-
options
-
globalDefinitions
-
typesInFixedVectorUse
-
typesInDynamicVectorUse
-
predefinedTypes
-
getInterfaceName
-
createSHA
Create a new hash function object and initialize it using a class and package name.- Parameters:
classname- Name of class.- Returns:
- hash function object.
-
reset
public void reset() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-