Exemple #1
0
 public void open(File file) throws IOException {
   close();
   try {
     m_file = new RandomAccessFile(file, "r");
     readHeader();
     seekToTime(1000);
   } catch (IOException e) {
     Simply.close(m_file);
     m_file = null;
     throw e;
   }
 }
Exemple #2
0
 public void close() {
   Simply.close(m_file);
   m_file = null;
 }