17 package com.generalrobotix.ui.view.tdview;
21 import java.awt.image.BufferedImage;
22 import javax.media.Format;
86 htFormat_=
new Hashtable<String, Format>();
87 Vector<String> ret =
new Vector<String>();
91 System.getProperty(
"user.dir") +
92 System.getProperty(
"file.separator") +
103 for(
int i=0;
i<formats.length;
i++){
104 String keyStr = formats[
i].toString();
113 File file=
new File(fileName);
116 return ret.toArray();
120 Calendar cal=
new GregorianCalendar();
121 String str=
"`~$" + cal.getTime().hashCode() +
".TMP";
124 public Object[]
preRecord(String fileName, String fileType)
126 Vector<String> ret =
new Vector<String>();
135 htFormat_=
new Hashtable<String, Format>();
138 for(
int i=0;
i<formats.length;
i++){
139 String keyStr = formats[
i].toString();
146 return ret.toArray();
150 Format format=(Format)
htFormat_.get(formatStr);
169 }
catch (Exception ex) {
170 ex.printStackTrace();