Searched defs:fileName (Results 1 - 25 of 31) sorted by relevance

12

/glassfish-3.1.2/tests/logmonitor/
H A DFilter.java191 public void writeKeyToFile(Vector<String> ids, String fileName) { argument
194 FileWriter fw = new FileWriter(new File(fileName));
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DMonitorCommand.java75 private File fileName; field in class:MonitorCommand
90 programOpts, env, type, filter, fileName);
H A DMonitorTask.java59 private File fileName = null; field in class:MonitorTask
73 final String type, final String filter, final File fileName)
80 this.fileName = fileName;
178 new BufferedWriter(new FileWriter(fileName, true));
185 fileName.getName());
71 MonitorTask(final Timer timer, final String[] remoteArgs, ProgramOptions programOpts, Environment env, final String type, final String filter, final File fileName) argument
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/elements/
H A DEjbReferencesElement.java115 // File fileName = Verifier.getArchiveFile(descriptor.getEjbBundleDescriptor().getModuleDescriptor().getArchiveUri());
116 // if (fileName!=null){
117 // fName = fileName.getName();
187 * @param fileName of the archive file.
191 private boolean commonToBothInterfaces(String home, String remote,String fileName) { argument
208 new Object[] {home, fileName}));
218 new Object[] {home,fileName}));
230 new Object[] {remote,fileName}));
240 new Object[] {compName,fileName}));
261 new Object[] {classStr, fileName}));
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/
H A DWelcomeFile.java149 private boolean fileExists(WebBundleDescriptor descriptor, String fileName) { argument
151 File welcomeFile = new File(webCompRoot, fileName);
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/test/
H A DTokenReplacementTester.java67 private TokenValueSet getTokensFromFile(String fileName) { argument
71 reader = new BufferedReader(new FileReader(fileName));
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/util/
H A DFileUtils.java106 public static void setExecutable(String fileName) throws SecurityException { argument
107 LOGGER.log(Level.FINEST, fileName);
108 if (isFileExist(fileName)) {
109 File tFile = new File(fileName);
136 * @param fileName file/directory to check.
139 public static boolean isFileExist(String fileName) { argument
140 LOGGER.log(Level.FINEST, fileName);
141 return new File(fileName).exists();
145 * @param fileName file/directory to check.
148 public static boolean deleteFile(String fileName) { argument
[all...]
H A DFileIOUtils.java94 * @param fileName text file to manipulate.
98 public void openFile(String fileName) argument
102 inputFile = new File(fileName);
/glassfish-3.1.2/persistence/common/src/main/java/org/glassfish/persistence/common/database/
H A DPropertyHelper.java95 * @param fileName Fully qualified path name to the file.
97 public static void loadFromFile(Properties properties, String fileName) argument
99 load(properties, fileName, true, null);
147 * Open fileName as input stream inside doPriviledged block
149 private static InputStream openFileInputStream(final String fileName) throws java.io.FileNotFoundException { argument
154 return new FileInputStream(fileName);
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DSeleniumHelper.java150 public static String captureScreenshot(String fileName) { argument
153 FileOutputStream out = new FileOutputStream("target/surefire-reports/screenshot-" + fileName + ".png");
160 return fileName;
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/
H A DExportHttpLbConfig.java92 String fileName; field in class:ExportHttpLbConfig
141 if(fileName == null){
144 fileName = DEFAULT_LB_XML_FILE_NAME + "." + configName;
146 fileName = DEFAULT_LB_XML_FILE_NAME;
150 File lbXmlFile = new File(fileName);
157 lbXmlFile = new File(loadbalancerDir, fileName);
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DSourceFileAttribute.java62 public ConstUtf8 fileName() { method in class:SourceFileAttribute
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/
H A DRuntimeVersion.java92 public RuntimeVersion(String fileName) { argument
93 loadProperties(fileName);
99 public static void loadProperties(String fileName) { argument
101 InputStream in = RuntimeVersion.class.getResourceAsStream(fileName);
103 throw new FileNotFoundException(fileName);
115 public static Properties getVendorProperties(String fileName) { argument
116 loadProperties(fileName);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DUtil.java122 public static File writeConfigFileToTempDir(String fileName) throws IOException { argument
123 File filePath = new File(fileName);
130 //Parent directories until the fileName exist, so create the file that has been provided
148 localFile = new File(tempDir.getAbsolutePath()+File.separator + fileName);
156 InputStream iStream = Util.class.getResourceAsStream("/config/" + fileName);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DUtil.java353 public static File saveFile(String fileName, String mimeType, InputStream fileStream) { argument
357 if (fileName.contains(".")) {
358 f = new File(new File(System.getProperty("java.io.tmpdir")), fileName);
/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DApplicationTest.java243 protected File getFile(String fileName) throws URISyntaxException { argument
244 final URL resource = getClass().getResource("/" + fileName);
250 String fileName = urlText.substring(urlText.lastIndexOf("/")+1);
251 File file = new File(fileName);
269 public Map<String, String> deployApp (final String fileName, final String contextRoot, final String name) throws URISyntaxException { argument
270 return deployApp(getFile(fileName), contextRoot, name);
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/util/
H A DClassPath.java136 public static String classNameOf(String fileName) { argument
137 int fnlen = fileName.length();
138 if (fnlen > 6 && fileName.regionMatches(true, fnlen - 6, ".class", 0, 6)) {//NOI18N
140 fileName = fileName.substring(0, fileName.length()-6);
142 StringTokenizer parser = new StringTokenizer(fileName, "\\/", false);//NOI18N
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/codegen/
H A DStaticRmiStubGenerator.java266 * @param fileName the name of the file
272 private OutputStream createOutputStream(String fileName) argument
275 File file = new File(fileName);
286 FileOutputStream out = new FileOutputStream(fileName);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/stdapis/
H A DAPIRepository.java99 * @param fileName An XML file which contains the details of APIs.
101 public synchronized static void Initialize(String fileName) argument
103 logger.logp(Level.FINE, myClsName, "Initialize", fileName); // NOI18N
107 me = new APIRepository(fileName);
203 private APIRepository(String fileName) throws Exception { argument
204 logger.entering(myClsName, "init<>", fileName); // NOI18N
205 final File file = new File(fileName);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/
H A DVerifierTest.java314 * @param fileName The file Name to look for
318 public static void testFileExistence(String uri, String fileName, String fileID, Result result) { argument
324 if (fileName == null || fileName.length()==0) {
344 // new Object[] {fileID, fileName}));
350 // ze = jarFile.getEntry(fileName);
355 // new Object[] {fileID, fileName}));
360 // new Object[] {fileID, fileName}));
364 File urif = new File(new File(arch.getURI()), fileName);
369 new Object[] {fileID, fileName}));
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DPartItem.java139 private String fileName; field in class:PartItem
205 * @param fileName The original filename in the user's filesystem, or
210 boolean isFormField, String fileName) {
217 this.fileName = fileName;
282 return fileName;
208 PartItem(Multipart multipart, PartHeaders headers, String fieldName, String contentType, boolean isFormField, String fileName) argument
/glassfish-3.1.2/ha/ha-file-store/src/main/java/org/glassfish/ha/store/adapter/file/
H A DFileBackingStore.java124 String fileName = key.toString();
132 byte[] data = readFromfile(fileName);
257 String fileName = sessionKey.toString();
262 writetoFile(sessionKey, fileName, getSerializedState(sessionKey, value));
286 private void touchFile(Object sessionKey, String fileName, long time) argument
289 File file = new File(baseDir, fileName);
354 private byte[] readFromfile(String fileName) { argument
358 + fileName);
361 File file = new File(baseDir, fileName);
396 + "file for: " + fileName);
403 writetoFile(K sessionKey, String fileName, byte[] data) argument
[all...]
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/
H A DEnhancerModel.java160 * @param fileName the name of the file
163 protected void deleteFile (String className, String fileName) argument
H A DRuntimeModel.java314 * @param fileName the name of the file
317 protected void deleteFile (String className, String fileName) argument
320 File file = getFile(className, fileName);
329 * @param fileName the name of the file
334 protected File getFile (String className, String fileName) argument
342 URL path = classElement.getResource(fileName.substring(
343 fileName.lastIndexOf(getShortClassName(className))));
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/
H A DLogFilter.java118 * not the absolute file name, just the fileName
230 String fileName = file.getName();
231 if (file.isFile() && !fileName.equals(".") && !fileName.equals("..")
232 && fileName.contains(".log") && !fileName.contains(".log.")) {
233 allInstanceFileNames.add(fileName);
369 String fileName = file.getName();
371 if (file.isFile() && !fileName.equals(".") && !fileName
625 getLogFile(String fileName) argument
[all...]

Completed in 140 milliseconds

12