Searched refs:fileName (Results 26 - 50 of 181) sorted by relevance

12345678

/openjdk7/jdk/test/java/awt/FontClass/CreateFont/
H A DBigFont.java65 String fileName; field in class:BigFont
69 fileName = getParameter("font");
97 if (fileName == null) {
100 int size = getFileSize(fileName);
105 loadMany(size, fontCnt, fileName);
109 loadMany(size, fontCnt, fileName);
114 int getFileSize(String fileName) { argument
116 URL url = new URL(getCodeBase(), fileName);
130 void loadMany(int oneFont, int fontCnt, String fileName) { argument
137 URL url = new URL(getCodeBase(), fileName);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DWSCodeWriter.java49 protected File getFile(JPackage pkg, String fileName ) throws IOException {
50 File f = super.getFile(pkg, fileName);
H A DWsimportListener.java45 * @param fileName
49 public void generatedFile(String fileName) {} argument
/openjdk7/jdk/test/java/io/File/
H A DCreate.java36 String fileName = createFileName(length);
37 File file = new File(fileName);
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11FontManager.java157 String fileName = null;
166 fileName = super.getFileNameFromPlatformName(platName);
167 if (fileName != null) {
168 if (isHeadless() && fileName.startsWith("-")) {
172 if (fileName.startsWith("/")) {
186 Vector xVal = (Vector) xlfdMap.get(fileName);
189 * around by verifying that the fileName represents a
193 if (getFontConfiguration().needToSearchForFile(fileName)) {
194 fileName = null;
196 if (fileName !
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/filechooser/
H A DFileNameExtensionFilter.java111 String fileName = f.getName();
112 int i = fileName.lastIndexOf('.');
113 if (i > 0 && i < fileName.length() - 1) {
114 String desiredExtension = fileName.substring(i+1).
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DCodeWriter.java63 * @param fileName
67 public abstract OutputStream openBinary( JPackage pkg, String fileName ) throws IOException;
80 * @param fileName
84 public Writer openSource( JPackage pkg, String fileName ) throws IOException {
86 ? new OutputStreamWriter(openBinary(pkg,fileName), encoding)
87 : new OutputStreamWriter(openBinary(pkg,fileName));
/openjdk7/jdk/test/tools/launcher/
H A DCreatePlatformFile.java49 String fileName = "i18nH\u00e9lloWorld.java";
51 PrintWriter pw = new PrintWriter(new FileOutputStream("."+fileSep+fileName));
66 String fileName = "i18nHelloWorld.java";
68 PrintWriter pw = new PrintWriter(new FileOutputStream("."+fileSep+fileName));
/openjdk7/jdk/test/javax/print/attribute/autosense/
H A DPrintAutoSenseData.java66 String fileName = "./sample.txt";
70 System.out.println("printing " + fileName + " using doc flavor: " + this.flavor);
73 Doc doc = new URLDoc(fileName, this.flavor);
95 protected String fileName = null; field in class:URLDoc
102 this.fileName = filename;
120 this.printData = URLDoc.class.getResource(this.fileName);
142 URL url = URLDoc.class.getResource(this.fileName);
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/
H A DFileLocator.java163 * @param fileName The name of the file to locate. The file name
168 * Here is an example of how the supplied fileName is used as a base
172 * Supplied fileName: a/b/c/x.y, current locale: US English
188 String fileName) throws FileNotFoundException, IOException {
191 int lastSlash = fileName.lastIndexOf ('/');
192 int lastDot = fileName.lastIndexOf ('.');
198 fnFront = fileName.substring (0, lastDot);
199 fnEnd = fileName.substring (lastDot);
201 fnFront = fileName;
207 result = locateFileInClassPath (fileName);
187 locateLocaleSpecificFileInClassPath( String fileName) argument
238 locateFileInClassPath(String fileName) argument
336 locateInZipFile(String zipFileName, String fileName, boolean wantClass, boolean buffered) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DJMap.java155 public boolean writeHeapHprofBin(String fileName) { argument
158 hgw.write(fileName);
159 System.out.println("heap written to " + fileName);
171 private boolean writeHeapGXL(String fileName) { argument
174 hgw.write(fileName);
175 System.out.println("heap written to " + fileName);
/openjdk7/jdk/test/tools/jar/
H A DChangeDir.java37 private final static String fileName = "hello.txt"; field in class:ChangeDir
76 File testFile = new File(testDir, fileName);
86 argList.add(fileName);
100 if (name.indexOf(fileName) != -1) {
101 if (name.indexOf(fileName) != 0) {
103 "Expected '%s' but got '%s'%n", fileName, name));
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/
H A DFilterGenerator.java42 String fileName,
45 super(className, superClassName, fileName,
41 FilterGenerator(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet) argument
H A DNodeCounterGenerator.java43 String fileName,
47 super(className, superClassName, fileName,
41 NodeCounterGenerator(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet) argument
H A DNodeSortRecordGenerator.java41 String fileName,
44 super(className, superClassName, fileName,
40 NodeSortRecordGenerator(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet) argument
/openjdk7/jdk/make/tools/reorder/tools/
H A DCombine.java37 private static void appendFile(String fileName, boolean keep) { argument
39 BufferedReader br = new BufferedReader(new FileReader(fileName));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/writer/
H A DPrologCodeWriter.java65 public Writer openSource(JPackage pkg, String fileName) throws IOException { argument
66 Writer w = super.openSource(pkg,fileName);
H A DSingleStreamCodeWriter.java58 public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { argument
63 "-----------------------------------" + pkgName+fileName +
H A DZipCodeWriter.java60 public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { argument
61 String name = fileName;
H A DFileCodeWriter.java75 public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { argument
76 return new FileOutputStream(getFile(pkg,fileName));
79 protected File getFile(JPackage pkg, String fileName ) throws IOException {
88 File fn = new File(dir,fileName);
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DZone.java71 * @param fileName the text file name
73 static void readZoneNames(String fileName) { argument
74 if (fileName == null) {
79 FileReader fr = new FileReader(fileName);
82 Main.panic("can't open file: " + fileName);
/openjdk7/jdk/src/share/classes/java/awt/
H A DJobAttributes.java248 private String fileName; field in class:JobAttributes
306 * @param fileName the possibly <code>null</code> file name
337 String fileName, int maxPage, int minPage,
344 setFileName(fileName);
379 fileName = obj.fileName;
535 return fileName;
542 * @param fileName the possibly null file name.
544 public void setFileName(String fileName) { argument
545 this.fileName
335 JobAttributes(int copies, DefaultSelectionType defaultSelection, DestinationType destination, DialogType dialog, String fileName, int maxPage, int minPage, MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, SidesType sides) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DEnv.java176 String fileName = location.sourceName();
182 if (candidate.fileName().equals(fileName)) {
191 throw new FileNotFoundException(fileName);
193 code = new SourceCode(fileName, reader);
302 private String fileName; field in class:Env.SourceCode
305 SourceCode(String fileName, BufferedReader reader) throws IOException { argument
306 this.fileName = fileName;
318 String fileName() { method in class:Env.SourceCode
[all...]
/openjdk7/corba/src/share/classes/javax/rmi/
H A DPortableRemoteObject.java257 private void getPropertiesFromFile( Properties props, String fileName )
260 File file = new File( fileName ) ;
273 System.out.println( "ORB properties file " + fileName +
283 String fileName = javaHome + File.separator + "lib" + File.separator +
286 getPropertiesFromFile( defaults, fileName ) ;
291 fileName = userHome + File.separator + "orb.properties" ;
293 getPropertiesFromFile( results, fileName ) ;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DOutputPropertiesFactory.java277 String fileName = null;
287 fileName = PROP_FILE_XML;
288 m_xml_properties = loadPropertiesFile(fileName, null);
300 fileName = PROP_FILE_HTML;
302 loadPropertiesFile(fileName, m_xml_properties);
311 fileName = PROP_FILE_TEXT;
313 loadPropertiesFile(fileName, m_xml_properties);
330 fileName = PROP_FILE_UNKNOWN;
332 loadPropertiesFile(fileName, m_xml_properties);
348 new Object[] { fileName, metho
[all...]

Completed in 104 milliseconds

12345678