/** * ({@inheritDoc} */ @Override public File getAppBaseFile() { if (appBaseFile != null) { return appBaseFile; } File file = new File(getAppBase()); // If not absolute, make it absolute if (!file.isAbsolute()) { file = new File(getCatalinaBase(), file.getPath()); } // Make it canonical if possible try { file = file.getCanonicalFile(); } catch (IOException ioe) { // Ignore } this.appBaseFile = file; return file; }
/** * ({@inheritDoc} */ @Override public File getAppBaseFile() { if (appBaseFile != null) { return appBaseFile; } File file = new File(getAppBase()); // If not absolute, make it absolute if (!file.isAbsolute()) { file = new File(getCatalinaBase(), file.getPath()); } // Make it canonical if possible try { file = file.getCanonicalFile(); } catch (IOException ioe) { // Ignore } this.appBaseFile = file; return file; }
/** * ({@inheritDoc} */ @Override public File getAppBaseFile() { if (appBaseFile != null) { return appBaseFile; } File file = new File(getAppBase()); // If not absolute, make it absolute if (!file.isAbsolute()) { file = new File(getCatalinaBase(), file.getPath()); } // Make it canonical if possible try { file = file.getCanonicalFile(); } catch (IOException ioe) { // Ignore } this.appBaseFile = file; return file; }
file = new File(getCatalinaBase(), path); try { file = file.getCanonicalFile();
file = new File(getCatalinaBase(), path); try { file = file.getCanonicalFile();
file = new File(getCatalinaBase(), path); try { file = file.getCanonicalFile();