Lines Matching defs:dir
91 private String dir;
101 * @param dir The directory to put the files in
103 public Class2HTML(JavaClass java_class, String dir) throws IOException {
107 this.dir = dir;
118 ConstantHTML constant_html = new ConstantHTML(dir, class_name, class_package, methods,
124 AttributeHTML attribute_html = new AttributeHTML(dir, class_name, constant_pool, constant_html);
126 MethodHTML method_html = new MethodHTML(dir, class_name, methods, java_class.getFields(),
130 new CodeHTML(dir, class_name, methods, constant_pool, constant_html);
142 String dir = "." + sep; // Where to store HTML files
150 dir = argv[++i];
152 if(!dir.endsWith("" + sep))
153 dir = dir + sep;
155 new File(dir).mkdirs(); // Create target directory if necessary
177 new Class2HTML(java_class, dir);
238 PrintWriter file = new PrintWriter(new FileOutputStream(dir + class_name + ".html"));