com.safi.asterisk
Class file

java.lang.Object
  extended by com.safi.asterisk.file
All Implemented Interfaces:
fileConstants

public class file
extends java.lang.Object
implements fileConstants


Field Summary
 
Fields inherited from interface com.safi.asterisk.fileConstants
AST_RESERVED_POINTERS
 
Constructor Summary
file()
           
 
Method Summary
static int ast_applystream(ast_channel chan, ast_filestream s)
           
static int ast_closestream(ast_filestream f)
           
static int ast_file_init()
           
static int ast_filecopy(java.lang.String oldname, java.lang.String newname, java.lang.String fmt)
           
static int ast_filedelete(java.lang.String filename, java.lang.String fmt)
           
static int ast_fileexists(java.lang.String filename, java.lang.String fmt, java.lang.String preflang)
           
static int ast_filerename(java.lang.String oldname, java.lang.String newname, java.lang.String fmt)
           
static int ast_format_register(java.lang.String name, java.lang.String exts, int format, SWIGTYPE_p_f_int__p_ast_filestream open, SWIGTYPE_p_f_int_p_char__p_ast_filestream rewrite, SWIGTYPE_p_f_p_struct_ast_filestream_p_struct_ast_frame__int write, SWIGTYPE_p_f_p_struct_ast_filestream_long_int__int seek, SWIGTYPE_p_f_p_struct_ast_filestream__int trunc, SWIGTYPE_p_f_p_struct_ast_filestream__long tell, SWIGTYPE_p_f_p_struct_ast_filestream_p_int__p_ast_frame read, SWIGTYPE_p_f_p_struct_ast_filestream__void close, SWIGTYPE_p_f_p_struct_ast_filestream__p_char getcomment)
           
static int ast_format_unregister(java.lang.String name)
           
static ast_filestream ast_openstream(ast_channel chan, java.lang.String filename, java.lang.String preflang)
           
static ast_filestream ast_openvstream(ast_channel chan, java.lang.String filename, java.lang.String preflang)
           
static int ast_playstream(ast_filestream s)
           
static ast_filestream ast_readfile(java.lang.String filename, java.lang.String type, java.lang.String comment, int flags, int check, SWIGTYPE_p_mode_t mode)
           
static SWIGTYPE_p_ast_frame ast_readframe(ast_filestream s)
           
static int ast_seekstream(ast_filestream fs, int sample_offset, int whence)
           
static int ast_stopstream(ast_channel c)
           
static int ast_stream_fastforward(ast_filestream fs, int ms)
           
static int ast_stream_rewind(ast_filestream fs, int ms)
           
static int ast_streamfile(ast_channel c, java.lang.String filename, java.lang.String preflang)
           
static int ast_tellstream(ast_filestream fs)
           
static int ast_truncstream(ast_filestream fs)
           
static char ast_waitstream_fr(ast_channel c, java.lang.String breakon, java.lang.String forward, java.lang.String rewind, int ms)
           
static char ast_waitstream_full(ast_channel c, java.lang.String breakon, int audiofd, int monfd)
           
static char ast_waitstream(ast_channel c, java.lang.String breakon)
           
static ast_filestream ast_writefile(java.lang.String filename, java.lang.String type, java.lang.String comment, int flags, int check, SWIGTYPE_p_mode_t mode)
           
static int ast_writestream(ast_filestream fs, SWIGTYPE_p_ast_frame f)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

file

public file()
Method Detail

ast_format_register

public static int ast_format_register(java.lang.String name,
                                      java.lang.String exts,
                                      int format,
                                      SWIGTYPE_p_f_int__p_ast_filestream open,
                                      SWIGTYPE_p_f_int_p_char__p_ast_filestream rewrite,
                                      SWIGTYPE_p_f_p_struct_ast_filestream_p_struct_ast_frame__int write,
                                      SWIGTYPE_p_f_p_struct_ast_filestream_long_int__int seek,
                                      SWIGTYPE_p_f_p_struct_ast_filestream__int trunc,
                                      SWIGTYPE_p_f_p_struct_ast_filestream__long tell,
                                      SWIGTYPE_p_f_p_struct_ast_filestream_p_int__p_ast_frame read,
                                      SWIGTYPE_p_f_p_struct_ast_filestream__void close,
                                      SWIGTYPE_p_f_p_struct_ast_filestream__p_char getcomment)

ast_format_unregister

public static int ast_format_unregister(java.lang.String name)

ast_streamfile

public static int ast_streamfile(ast_channel c,
                                 java.lang.String filename,
                                 java.lang.String preflang)

ast_stopstream

public static int ast_stopstream(ast_channel c)

ast_fileexists

public static int ast_fileexists(java.lang.String filename,
                                 java.lang.String fmt,
                                 java.lang.String preflang)

ast_filerename

public static int ast_filerename(java.lang.String oldname,
                                 java.lang.String newname,
                                 java.lang.String fmt)

ast_filedelete

public static int ast_filedelete(java.lang.String filename,
                                 java.lang.String fmt)

ast_filecopy

public static int ast_filecopy(java.lang.String oldname,
                               java.lang.String newname,
                               java.lang.String fmt)

ast_waitstream

public static char ast_waitstream(ast_channel c,
                                  java.lang.String breakon)

ast_waitstream_fr

public static char ast_waitstream_fr(ast_channel c,
                                     java.lang.String breakon,
                                     java.lang.String forward,
                                     java.lang.String rewind,
                                     int ms)

ast_waitstream_full

public static char ast_waitstream_full(ast_channel c,
                                       java.lang.String breakon,
                                       int audiofd,
                                       int monfd)

ast_readfile

public static ast_filestream ast_readfile(java.lang.String filename,
                                          java.lang.String type,
                                          java.lang.String comment,
                                          int flags,
                                          int check,
                                          SWIGTYPE_p_mode_t mode)

ast_writefile

public static ast_filestream ast_writefile(java.lang.String filename,
                                           java.lang.String type,
                                           java.lang.String comment,
                                           int flags,
                                           int check,
                                           SWIGTYPE_p_mode_t mode)

ast_writestream

public static int ast_writestream(ast_filestream fs,
                                  SWIGTYPE_p_ast_frame f)

ast_closestream

public static int ast_closestream(ast_filestream f)

ast_openstream

public static ast_filestream ast_openstream(ast_channel chan,
                                            java.lang.String filename,
                                            java.lang.String preflang)

ast_openvstream

public static ast_filestream ast_openvstream(ast_channel chan,
                                             java.lang.String filename,
                                             java.lang.String preflang)

ast_applystream

public static int ast_applystream(ast_channel chan,
                                  ast_filestream s)

ast_playstream

public static int ast_playstream(ast_filestream s)

ast_seekstream

public static int ast_seekstream(ast_filestream fs,
                                 int sample_offset,
                                 int whence)

ast_truncstream

public static int ast_truncstream(ast_filestream fs)

ast_stream_fastforward

public static int ast_stream_fastforward(ast_filestream fs,
                                         int ms)

ast_stream_rewind

public static int ast_stream_rewind(ast_filestream fs,
                                    int ms)

ast_tellstream

public static int ast_tellstream(ast_filestream fs)

ast_readframe

public static SWIGTYPE_p_ast_frame ast_readframe(ast_filestream s)

ast_file_init

public static int ast_file_init()