Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,274 for _file (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return charMappingService.getCharMappingFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/MimeMap.java

     */
    
    package jcifs.smb1.util;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * MIME type mapping utility for file extensions.
     * Provides mappings between file extensions and their corresponding MIME types
     * by reading from a resource file containing extension-to-MIME-type mappings.
     */
    public class MimeMap {
    
        private static final int IN_SIZE = 7000;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return stemmerOverrideService.getStemmerOverrideFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            try {
                Path path = ResourceUtil.getConfOrClassesPath("dir", "file.conf");
                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior
                assertTrue(e.getMessage().contains("dir") && e.getMessage().contains("file.conf"));
            }
        }
    
        public void test_getClassesPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertEquals((byte) 0x00, dst[1]); // Null terminator for empty old file name
            assertEquals((byte) 0x04, dst[2]); // Second buffer format byte
        }
    
        /**
         * Test writeBytesWireFormat with special characters in file names
         */
        @Test
        @DisplayName("Test writeBytesWireFormat with special characters in file names")
        public void testWriteBytesWireFormatSpecialCharacters() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

     */
    package org.codelibs.fess.util;
    
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.InvocationTargetException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange & Act
                SmbFile file = new SmbFile(url, mockCifsContext);
    
                // Assert
                assertNotNull(file);
                assertEquals(mockCifsContext, file.getContext());
            }
    
            @Test
            void testConstructorWithStringURL() throws MalformedURLException {
                // Arrange & Act
                SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

        val entries =
          classpath
            .split(File.pathSeparator.toRegex())
            .dropLastWhile { it.isEmpty() }
            .toTypedArray()
        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    package org.codelibs.fess.dict;
    
    import java.io.File;
    
    import org.apache.commons.io.FileUtils;
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.mapping.CharMappingCreator;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top