- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getResourceAsFileNoException (0.19 sec)
-
src/main/java/org/codelibs/core/io/ResourceUtil.java
* * @param clazz * クラス。{@literal null}であってはいけません * @return ファイル * @see #getResourceAsFileNoException(String) */ public static File getResourceAsFileNoException(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); return getResourceAsFileNoException(getResourcePath(clazz)); } /** * リソースをファイルとして返します。リソースが見つからない場合は<code>null</code>を返します。
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
return ComponentUtil.getSystemProperties().getProperty(key, defaultValue); } protected String getResourcePath(final String path) { final File file = ResourceUtil.getResourceAsFileNoException(path); if (file != null) { return file.getAbsolutePath(); } return null; } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
} else if (fessConfig.isSupportedUploadedFile(fileName) || fessConfig.isSupportedUploadedFile(uploadedFileName)) { uploadFile = ResourceUtil.getResourceAsFileNoException(fileName); if (uploadFile == null) { throwValidationError(messages -> messages.addErrorsDesignFileNameIsNotFound("designFileName"), this::asListHtml); return null;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0)