/glassfish-3.1.2/tests/logmonitor/ |
H A D | Filter.java | 191 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 D | MonitorCommand.java | 75 private File fileName; field in class:MonitorCommand 90 programOpts, env, type, filter, fileName);
|
H A D | MonitorTask.java | 59 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 D | EjbReferencesElement.java | 115 // 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 D | WelcomeFile.java | 149 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 D | TokenReplacementTester.java | 67 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 D | FileUtils.java | 106 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 D | FileIOUtils.java | 94 * @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 D | PropertyHelper.java | 95 * @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 D | SeleniumHelper.java | 150 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 D | ExportHttpLbConfig.java | 92 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 D | SourceFileAttribute.java | 62 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 D | RuntimeVersion.java | 92 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 D | Util.java | 122 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 D | Util.java | 353 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 D | ApplicationTest.java | 243 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 D | ClassPath.java | 136 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 D | StaticRmiStubGenerator.java | 266 * @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 D | APIRepository.java | 99 * @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 D | VerifierTest.java | 314 * @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 D | PartItem.java | 139 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 D | FileBackingStore.java | 124 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 D | EnhancerModel.java | 160 * @param fileName the name of the file 163 protected void deleteFile (String className, String fileName) argument
|
H A D | RuntimeModel.java | 314 * @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 D | LogFilter.java | 118 * 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...] |