java :: NativeFileInputStream :: close
java :: NativeFileInputStream :: read
java $ NativeFileInputStream :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
java :: NativeFileInputStream :: close
jvm :: JavaObject :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
jvm :: JavaObject :: new_global_ref
Returns a global reference to the Java object behind this referencecore :: Object :: output_class_name
Display class name on stdout (debug only).jvm :: JavaObject :: pop_from_local_frame
Pops the current local reference frame and return a valid reference to selfjvm :: JavaObject :: pop_from_local_frame_with_env
Java implementation ofpop_from_local_frame
java :: NativeFileInputStream :: read
jvm :: JavaObject :: to_java_string
JavaString
representation of self
using Java's toString
extern class NativeFileInputStream in "Java" `{ java.io.FileInputStream `}
super JavaObject
fun available: Int in "Java" `{
try {
return self.available();
}catch(IOException e){
e.printStackTrace();
return -1;
}
`}
fun close in "Java" `{
try {
self.close();
}catch(IOException e){
e.printStackTrace();
}
`}
fun read: Int in "Java" `{
try {
return self.read();
}catch(IOException e){
e.printStackTrace();
return -1;
}
`}
fun skip(byte_count: Int): Int in "Java" `{
try {
return (int)self.skip(byte_count);
}catch(IOException e){
e.printStackTrace();
return -1;
}
`}
end
lib/java/io.nit:77,1--111,3