The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Native::ClassFile - Information of Class Files

Description

The Native::ClassFile class of SPVM has methods to manipulate information of class files

Usage

  use Native::ClassFile;

Instance Methods

get_class_name

method get_class_name : string ();

Returns the class name.

If a memory error occurs, an exception is thrown.

get_file

method get_file : string ();

Returns the file.

If a memory error occurs, an exception is thrown.

set_file

method set_file : void ($file : string);

Sets the file.

If a memory error occurs, an exception is thrown.

get_dir

method get_dir : string ();

Returns the directory.

If a memory error occurs, an exception is thrown.

set_dir

method set_dir : void ($dir : string);

Sets the directory.

If a memory error occurs, an exception is thrown.

get_rel_file

method get_rel_file : string ();

Returns the relative file.

If a memory error occurs, an exception is thrown.

set_rel_file

method set_rel_file : void ($rel_file : string);

Ss the relative file.

If a memory error occurs, an exception is thrown.

get_content

method get_content : string ();

Returns the content.

If a memory error occurs, an exception is thrown.

set_content

method set_content : void ($content : string);

Sets the content.

If a memory error occurs, an exception is thrown.

get_content_length

method get_content_length : int ();

Returns the length of the content.

If a memory error occurs, an exception is thrown.

set_content_length

method set_content_length : void ($content_length : int);

Sets the length of the content.

If a memory error occurs, an exception is thrown.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License