- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for file_name (0.12 sec)
-
FessMultipartRequestHandler.java
{ value }; L283: } L284: elementsAll.put(fieldName, newArray); L285: elementsText.put(fieldName, newArray); L286: } L287: L288: protected void addFileParameter(final DiskFileItem item) { L289: final String fieldName = item.getFieldName(); L290: final MultipartFormFile formFile = newActionMultipartFormFile(item); L291: elementsAll.put(fieldName, formFile); L292: elementsFile.put(fieldName, formFile); L293: } L294: L295: protected ActionMultipartFormFile...github.com/codelibs/fess/src/main/java/org/code...Wed Oct 23 13:27:21 UTC 2024 18.6K bytes -
AdminDesignAction.java
uploadedFileName = form.designFile.getFileName(); L129: String fileName = form.designFileName; L130: if (StringUtil.isBlank(fileName)) { L131: fileName = uploadedFileName; L132: try { L133: int pos = fileName.indexOf('/'); L134: if (pos >= 0) { L135: fileName = fileName.substring(pos + 1); L136: } L137: pos = fileName.indexOf('\\'); L138: if (pos >= 0) { L139: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.1K bytes -
AdminBackupAction.java
} else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) { L158: fileType = 2; L159: } else if (fileName.endsWith(".bulk")) { L160: fileType = 3; L161: } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) { L162: fileType = 4; L163: } else if (fileName.startsWith("doc") && fileName.endsWith(".json")) { L164: fileType = 5; L165: } else { L166: throwValidationError(messages -> messa...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
AdminLogAction.java
ActionResponse download(final String id) { L73: final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); L74: final String logFilePath = systemHelper.getLogFilePath(); L75: if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { L76: final Path path = Paths.get(logFilePath, filename); L77: return asStream(filename).contentTypeOctetStream().stream(out -> { L78: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.7K bytes -
PythonJob.java
text; L40: L41:public class PythonJob extends ExecJob { L42: static final Logger logger = LogManager.getLogger(PythonJob.class); L43: L44: protected String filename; L45: L46: protected List<String> argList = new ArrayList<>(); L47: L48: public PythonJob filename(final String filename) { L49: this.filename = filename; L50: return this; L51: } L52: L53: public PythonJob arg(final String value) { L54: argList.add(value); L55: return this; L56: } L57:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.9K bytes -
CurlTest.java
logger.log(Level.SEVERE, "error", e); L37: fail(); L38: }); L39: } L40: L41: /* L42: @Test L43: public void test_Get_ssl() throws Exception { L44: final String filename = "config/certs/http_ca.crt"; L45: try (InputStream in = new FileInputStream(filename)) { L46: Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate(in); L47: L48: KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());...github.com/codelibs/curl4j/src/test/java/org/co...Mon Nov 14 21:05:19 UTC 2022 2.5K bytes -
ApiAdminLogAction.java
StreamResponse get$file(final String id) { L56: final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); L57: final String logFilePath = systemHelper.getLogFilePath(); L58: if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { L59: final Path path = Paths.get(logFilePath, filename); L60: return asStream(filename).contentTypeOctetStream().stream(out -> { L61: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
AdminPluginAction.java
!tempFile.delete()) { L101: logger.warn("Failed to delete {}.", tempFile.getAbsolutePath()); L102: } L103: logger.debug("Failed to copy {}", filename, e); L104: throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, filename), this::asListHtml); L105: } L106: new Thread(() -> { L107: try { L108: final PluginHelper pluginHelper = Compone...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.9K bytes -
ApiAdminBackupAction.java
)) { L78: final String index; L79: final String filename; L80: if (id.endsWith(".bulk")) { L81: index = id.substring(0, id.length() - 5); L82: filename = id; L83: } else { L84: index = id; L85: filename = id + ".bulk"; L86: } L87: return asStream(filename).contentTypeOctetStream().stream(out -> { L88: try (final BufferedWriter...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 6.1K bytes -
log4j2.xml
name="backup.date.suffix" value="_%d{yyyyMMdd}" /> L11: <Property name="backup.max.history" value="10" /> L12: <Property name="stats.log.pattern" value="%msg%n" /> L13: </Properties> L14: L15: <Appenders> L16: <RollingFile name="AppRollingFile" fileName="${log.file.basedir}/${domain.name}.log" L17: filePattern="${log.file.basedir}/${domain.name}${backup.date.suffix}-%i.log.gz"> L18: <PatternLayout><Pattern>${log.pattern}</Pattern></PatternLayout><!-- <EcsLayout serviceName="fess" eventDataset="crawler"...github.com/codelibs/fess/src/main/webapp/WEB-IN...Mon Feb 20 13:05:30 UTC 2023 2.4K bytes