- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 506 for file_name (0.07 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java
*/ public interface MimeTypeHelper { /** * Determines the content type of the given input stream and filename. * @param is the input stream to analyze * @param filename the filename to help determine the content type * @return the detected content type */ String getContentType(InputStream is, String filename); /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename); return asStream(filename).contentTypeOctetStream().stream(out -> { try (InputStream in = Files.newInputStream(path)) { out.write(in); } }); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
} /** * Normalizes the filename by replacing special characters. * @param filename The filename to normalize. * @return The normalized filename. */ protected String normalizeFilename(final String filename) { if (StringUtil.isBlank(filename)) { return filename; } final StringBuilder buf = new StringBuilder(filename.length() + 10);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java
/** * Extracts the filename from the parameters as the content. * * <p>This extractor is useful when you want to index only the filename or resource name * without processing the actual file content. The input stream is validated but not * read - only the filename from the parameters is used as the extracted content.</p> * * <p>The filename is retrieved from the {@link ExtractData#RESOURCE_NAME_KEY} parameter.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
* * @author mbechler */ public class FileRenameInformation2 implements FileInformation { private boolean replaceIfExists; private String fileName; /** * Default constructor for decoding. */ public FileRenameInformation2() { } /** * Constructs file rename information. * * @param name the new file nameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
void testFilenameHandling(String filename) { // Test various filename formats trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, filename, TEST_BATCH_COUNT, TEST_BATCH_SIZE); byte[] buffer = new byte[1024]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify filename is written and can be read back
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
private byte[] createValidNotificationBuffer(String fileName, int action) { return createNotificationBufferWithNextOffset(fileName, action, 0); } /** * Helper method to create a notification buffer with specified next offset */ private byte[] createNotificationBufferWithNextOffset(String fileName, int action, int nextOffset) { byte[] fileNameBytes = fileName.getBytes(StandardCharsets.UTF_16LE);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
/** * Creates an artifact instance from a filename. * * @param artifactType the type of the artifact * @param filename the filename to parse * @return an artifact instance */ protected Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename) { return getArtifactFromFileName(artifactType, filename, null); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
* @param fileId * The file ID that was closed * @param fileName * The name of the file that was closed */ public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) { super(config); this.fileId = fileId; this.fileName = fileName; } /** * Get the close flags * * @return the closeFlagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
/** * Constructs a query information request. * * @param config the configuration * @param filename the file name to query */ public SmbComQueryInformation(final Configuration config, final String filename) { super(config, SMB_COM_QUERY_INFORMATION, filename); } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)