public class JrpcgenContext extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
String |
currentFilename
Full name of the current source code file.
|
File |
xFile
The x-file to parse (not: the X Files, the latter ones are something
completely different).
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
JrpcgenSHA |
createSHA(String classname)
Create a new hash function object and initialize it using a class
and package name.
|
String |
getInterfaceName(String programId) |
String |
getJrpcgenVersion() |
JrpcgenXdrDefinition.Table |
globalDefinitions() |
static String |
newline() |
static JrpcgenContext |
open(JrpcgenOptions options,
File xFile,
String jrpcgenVersion) |
static JrpcgenContext |
open(JrpcgenOptions options,
String xfilename,
String jrpcgenVersion) |
JrpcgenOptions |
options() |
Set<String> |
predefinedTypes() |
void |
reset() |
Set<String> |
typesInDynamicVectorUse() |
Set<String> |
typesInFixedVectorUse() |
public File xFile
public String currentFilename
public static String newline()
public static JrpcgenContext open(JrpcgenOptions options, File xFile, String jrpcgenVersion) throws IOException
IOExceptionpublic static JrpcgenContext open(JrpcgenOptions options, String xfilename, String jrpcgenVersion) throws IOException
IOExceptionpublic final String getJrpcgenVersion()
public final JrpcgenOptions options()
public final JrpcgenXdrDefinition.Table globalDefinitions()
public JrpcgenSHA createSHA(String classname)
classname - Name of class.public void reset()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2025. All rights reserved.