Assimp  v4.1. (December 2018)
jassimp.AiIOSystem< T extends AiIOStream > Interface Template Reference

Public Member Functions

void close (T file)
 Closes the given file and releases all resources associated with it. More...
 
boolean exists (String path)
 Tests for the existence of a file at the given path. More...
 
char getOsSeparator ()
 Returns the system specific directory separator. More...
 
open (String path, String ioMode)
 Open a new file with a given path. More...
 

Member Function Documentation

◆ close()

void jassimp.AiIOSystem< T extends AiIOStream >.close ( file)

Closes the given file and releases all resources associated with it.

Parameters
fileThe file instance previously created by Open().

◆ exists()

boolean jassimp.AiIOSystem< T extends AiIOStream >.exists ( String  path)

Tests for the existence of a file at the given path.

Parameters
pathpath to the file
Returns
true if there is a file with this path, else false.

◆ getOsSeparator()

char jassimp.AiIOSystem< T extends AiIOStream >.getOsSeparator ( )

Returns the system specific directory separator.

Returns
System specific directory separator

◆ open()

T jassimp.AiIOSystem< T extends AiIOStream >.open ( String  path,
String  ioMode 
)

Open a new file with a given path.

When the access to the file is finished, call close() to release all associated resources

Parameters
pathPath to the file
ioModefile I/O mode. Required are: "wb", "w", "wt", "rb", "r", "rt".
Returns
AiIOStream or null if an error occurred

The documentation for this interface was generated from the following file: