/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...] |
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/org/glassfish/resources/custom/factory/ |
H A D | PropertiesFactory.java | 50 public static final String filePropertyName = "org.glassfish.resources.custom.factory.PropertiesFactory.fileName"; 55 String fileName = null; 65 fileName = value; 71 if(fileName != null){ 72 File file = new File(fileName); 74 file = new File(System.getProperty("com.sun.aas.installRoot")+File.separator+fileName); 82 if(fileName.toUpperCase(Locale.getDefault()).endsWith("XML")){
|
/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/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/ |
H A D | LogFilterForInstance.java | 107 String fileName = file.filename; 109 if (!file.attributes.isDirectory() && !fileName.equals(".") && !fileName.equals("..") 110 && fileName.contains(".log") && !fileName.contains(".log.")) { 220 String fileName = file.filename; 222 if (!file.attributes.isDirectory() && !fileName.equals(".") && !fileName.equals("..") 223 && fileName.contains(".log") && !fileName [all...] |
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...] |
/glassfish-3.1.2/tests/utils/src/main/java/org/glassfish/tests/utils/ |
H A D | Utils.java | 75 final String fileName = test.getFileName(); 78 if (habitats.containsKey(fileName)) { 79 return habitats.get(fileName); 83 habitats.put(fileName, habitat); 91 final String fileName = test.getFileName(); 100 URL url = getClass().getClassLoader().getResource(fileName + ".xml");
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/ |
H A D | TemplateCommandPostResource.java | 136 String fileName = bodyPart.getContentDisposition().getFileName(); 137 if (fileName.contains("/")) { 138 fileName = Util.getName(fileName, '/'); 140 if (fileName.contains("\\")) { 141 fileName = Util.getName(fileName, '\\'); 145 File f = Util.saveFile(fileName, mimeType, fileStream);
|
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/ |
H A D | DomainResolver.java | 67 String fileName = systemId.substring("http://www.sun.com/software/appserver/".length()); 70 f = new File(f, fileName.replace('/', File.separatorChar)); 75 LogHelper.getDefaultLogger().log(Level.SEVERE, "Exception while getting " + fileName + " : ", e);
|
/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/ |
H A D | RestartDomainTests.java | 68 String fileName = dir1.getCanonicalPath()+"/"+outPutFile; 71 //System.out.println("Parsing output file: "+fileName ); 73 in = new BufferedReader(new FileReader(fileName)); 75 System.out.println("Could not open file " + fileName + " for reading ");
|
/glassfish-3.1.2/admin/cli/src/test/java/com/sun/enterprise/admin/cli/ |
H A D | CLIUtilTest.java | 62 String fileName = null; 65 fileName = f.toString(); 80 Map<String, String> po = CLIUtil.readPasswordFileOptions(fileName, false);
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/ |
H A D | JarURIPattern.java | 72 String fileName = file.getName(); 75 if (fileName != null && fileName.endsWith(".jar")) {
|
/glassfish-3.1.2/web/web-embed/impl/src/main/java/org/glassfish/web/embed/impl/ |
H A D | EmbeddedWebEntityResolver.java | 106 String fileName = knownDTDs.get(publicId); 107 URL url = this.getClass().getResource("/dtds/" + fileName); 122 String fileName = knownDTDs.get(publicId); 123 if (fileName != null && dtdDir != null) { 124 File dtd = new File(dtdDir, fileName);
|
/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/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | RequestItemIterator.java | 369 String fileName = getFileName(headers); 370 currentItem = new RequestItemImpl(headers, fileName, 372 fileName == null, getContentLength(headers)); 378 String fileName = getFileName(headers); 379 if (fileName != null) { 380 currentItem = new RequestItemImpl(headers, fileName, 419 String fileName = null; 429 fileName = params.get("filename"); 430 if (fileName != null) { 431 fileName [all...] |
/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/web/web-glue/src/main/java/org/glassfish/web/ |
H A D | WebEntityResolver.java | 104 String fileName = knownDTDs.get(publicId); 105 if(fileName!=null) { 106 File dtd = new File(dtdDir,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/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/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | InstallNodeBaseCommand.java | 194 String fileName = iter.next(); 195 String fPath = fileName.substring(fileName.lastIndexOf("/") + 1); 197 logger.finer("Removing file = " + fileName); 201 if (fileName.contains("domains") || fileName.contains("nodes")) { 204 else if (isFileWithinBinDirectory(fileName)) { 205 binDirFiles.add(fileName);
|
/glassfish-3.1.2/tests/quicklook/web/jruby/src/test/ |
H A D | JRubyTestNG.java | 66 //String fileName="/tmp/JRuby_deploy.output"; 80 String fileName = dir1.getCanonicalPath() + "/deploy.output"; 81 //System.out.println("Deployment output file: " + fileName ); 83 in = new BufferedReader(new FileReader(fileName)); 85 System.out.println("Could not open file " + fileName + " for reading ");
|
/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/deployment/common/src/main/java/org/glassfish/deployment/common/ |
H A D | ModuleExploder.java | 158 String fileName = (String) itr.nextElement(); 163 // resolveDependencies(new File(directory, fileName)); 168 if (fileName.toLowerCase().endsWith(".jar") && ( ! fileName.replace('\\', '/').toUpperCase().startsWith(WEB_INF_PREFIX)) ) { 171 File f = new File(directory, fileName);
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
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/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/common/src/main/java/org/glassfish/persistence/common/ |
H A D | Java2DBProcessorHelper.java | 231 String fileName = null; 234 fileName = deploymentContextProps.getProperty(CREATE_JDBC_FILE_NAME + bundleName); 238 fileName = deploymentContextProps.getProperty(DROP_JDBC_FILE_NAME + bundleName); 242 logger.fine("---> fileName " + fileName); 245 if (fileName == null) { 249 File file = getDDLFile(getGeneratedLocation(bundleName) + fileName, true); 256 appRegisteredName, fileName, null); 267 * @param fileName the string name of the file. 271 public File getDDLFile(String fileName, boolea argument 549 executeDDLStatement(File fileName, String resourceName) argument 666 logI18NWarnMessage( String errorCode, String regName, String fileName, Throwable ex) argument 687 getI18NMessage( String errorCode, String regName, String fileName, Throwable ex) argument [all...] |