We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InlineReader class is provided APIs for reading pre-compiled Java class in inline.
InlineReader
Java
For an example as follows:
$javaClass = new JavaClass( new InlineReader('File.class', pack('N', 0xCAFEBABE)) ); or $javaClass = new JavaClass( new InlineReader('/path/to/TheFile.class', file_get_contents('/path/to/away/TheFile.class')) );
public function __construct(string $fileName, string $code)
Initiate a Java Class Reader.
public function getBinaryReader(): BinaryReader
Return an initiated BinaryReader instance.
No parameters.
public function getJavaPathName(): string
Get a real Java class file name.
public function getFileName(): string
Get a real Java class file path.
public function __toString(): string