- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for getSystemHelper (0.14 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
validate(form, messages -> {}, this::asListHtml); verifyToken(this::asListHtml); final String fileName = form.bulkFile.getFileName(); final File tempFile = ComponentUtil.getSystemHelper().createTempFile("fess_restore_", ".tmp"); try (final InputStream in = form.bulkFile.getInputStream(); final OutputStream out = new FileOutputStream(tempFile)) { CopyUtil.copy(in, out);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} if (baseDir == null) { baseDir = new File(System.getProperty("java.io.tmpdir")); } destoryTimer = new Timer("CommandGeneratorDestoryTimer-" + ComponentUtil.getSystemHelper().getCurrentTimeAsLong(), true); updateProperties(); } protected void updateProperties() { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
if (StringUtil.isNotBlank(options.propertiesPath)) { systemProperties.reload(options.propertiesPath); } else { try { final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties"); if (propFile.delete() && logger.isDebugEnabled()) { logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
} protected void storeQueue(final List<Tuple3<String, String, String>> taskList) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final String[] targets = fessConfig.getThumbnailGeneratorTargetsAsArray(); final List<ThumbnailQueue> list = new ArrayList<>(); taskList.stream().filter(entity -> entity != null).forEach(task -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
return groups; } @Override public String[] getPermissions() { if (permissions == null) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final Set<String> permissionSet = new HashSet<>(); permissionSet.add(systemHelper.getSearchRoleByUser(name));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
} buf.append(tempBuf.toString()); return buf; } protected StringBuilder appendTimestamp(final StringBuilder buf) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime())); return buf; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final int docPerReq = fessConfig.getSuggestUpdateDocPerRequestAsInteger(); final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); suggester.indexer().indexFromDocument(() -> { final ESSourceReader reader = new ESSourceReader(ComponentUtil.getSearchEngineClient(), suggester.settings(),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} } return 0; } protected Calendar getCurrentCal() { final Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()); return cal; } public void addIntervalRule(final String from, final String to, final String days, final long delay) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
buf.append("-Xlog:gc*,gc+age=trace,safepoint:file="); if (logFilePath != null) { buf.append(logFilePath); } else { buf.append(ComponentUtil.getSystemHelper().getLogFilePath()); } buf.append(File.separator); buf.append("gc-").append(getExecuteType()).append(".log"); buf.append(":utctime,pid,tags:filecount=5,filesize=64m");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
protected Writer writer; protected CharMappingItem item; protected MappingUpdater(final CharMappingItem newItem) { try { newFile = ComponentUtil.getSystemHelper().createTempFile(MAPPING, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.2K bytes - Viewed (0)