Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 643 for setName (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return protwordsService.getProtwordsFile(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.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Resources.java

        URL url = contextClass.getResource(resourceName);
        checkArgument(
            url != null, "resource %s relative to %s not found.", resourceName, contextClass.getName());
        return url;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

    import org.junit.rules.ExpectedException;
    import org.junit.rules.TemporaryFolder;
    
    /**
     * @author wyukawa
     *
     */
    public class PropertiesUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         *
         */
        @Rule
        public TemporaryFolder tempFolder = new TemporaryFolder();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
            assertEquals(this.getClass().getName(), stackTrace[0].getClassName());
        }
    
        public void test_multipleCatches() {
            // Test with multiple catch blocks
            boolean caughtSpecific = false;
            boolean caughtRuntime = false;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // The first element should be from this test class
            StackTraceElement firstElement = stackTrace[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String username = "nonexistentuser";
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

         */
        public FileBothDirectoryInfo(final Configuration config, final boolean unicode) {
            this.config = config;
            this.unicode = unicode;
        }
    
        @Override
        public String getName() {
            return this.filename;
        }
    
        @Override
        public int getType() {
            return SmbConstants.TYPE_FILESYSTEM;
        }
    
        /**
         * @return the fileIndex
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        }
    
        /**
         *
         */
        @Test
        public void testGetShortClassName() {
            assertThat(ClassUtil.getShortClassName(getClass().getName()), is("ClassUtilTest"));
        }
    
        /**
         *
         */
        @Test(expected = NoSuchConstructorRuntimeException.class)
        public void testGetConstructor() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test class
            StackTraceElement firstElement = stackTrace[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
            assertEquals("test_stackTrace", firstElement.getMethodName());
        }
    
        /**
         * Test stack trace with cause
         */
        public void test_stackTraceWithCause() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

            SmbFile file1 = mock(SmbFile.class);
            when(file1.getName()).thenReturn("document.pdf");
            when(file1.isDirectory()).thenReturn(false);
            when(file1.length()).thenReturn(2048L);
            when(file1.lastModified()).thenReturn(System.currentTimeMillis());
    
            SmbFile dir1 = mock(SmbFile.class);
            when(dir1.getName()).thenReturn("folder/");
            when(dir1.isDirectory()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

                }
            }
    
            return bySyntax;
        }
    
        private static ClassLoader initializeDocLoader() throws ExpressionDocumentationException {
            String myResourcePath = ExpressionDocumenter.class.getName().replace('.', '/') + ".class";
    
            URL myResource = ExpressionDocumenter.class.getClassLoader().getResource(myResourcePath);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top