Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for resourceName (0.2 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            url = "http://test.com/hoge1.pdf";
            resourceName = null;
            assertNull(tikaExtractor.getPassword(createParams(url, resourceName)));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = "hoge2.pdf";
            assertNull(tikaExtractor.getPassword(createParams(url, resourceName)));
    
            url = null;
            resourceName = "hoge2.pdf";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            String url;
            String resourceName;
            HashMap<String, String> params = new HashMap<>();
    
            url = null;
            resourceName = null;
            params.put(ExtractData.URL, url);
            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = null;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

        }
    
        public void get(String resourceName, File destination)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            addTransfer("get " + resourceName);
    
            insideGet = true;
    
            super.get(resourceName, destination);
    
            insideGet = false;
        }
    
        private void addTransfer(String resourceName) {
            if (testTransferListener != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

        }
    
        public void test_getText_ooow() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

        private final File file;
        private final String resourceName;
    
        final ClassLoader loader;
    
        static ResourceInfo of(File file, String resourceName, ClassLoader loader) {
          if (resourceName.endsWith(CLASS_FILE_NAME_EXTENSION)) {
            return new ClassInfo(file, resourceName, loader);
          } else {
            return new ResourceInfo(file, resourceName, loader);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY);
    
            String extention;
            String filePrefix;
            if (StringUtil.isNotBlank(resourceName)) {
                final String name = getFileName(resourceName);
                final String[] strings = name.split("\\.");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Resources.java

      public static URL getResource(String resourceName) {
        ClassLoader loader =
            MoreObjects.firstNonNull(
                Thread.currentThread().getContextClassLoader(), Resources.class.getClassLoader());
        URL url = loader.getResource(resourceName);
        checkArgument(url != null, "resource %s not found.", resourceName);
        return url;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                throw new CrawlerSystemException("in is null.");
            }
    
            final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY);
    
            String extension;
            String filePrefix;
            if (StringUtil.isNotBlank(resourceName)) {
                final String name = getFileName(resourceName);
                final String[] strings = name.split("\\.");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

            if (!passwordMap.isEmpty()) {
                final String resourceName = params != null ? params.get(ExtractData.RESOURCE_NAME_KEY) : null;
    
                String value = null;
                if (StringUtil.isNotEmpty(url)) {
                    value = url;
                } else if (StringUtil.isNotEmpty(resourceName)) {
                    value = resourceName;
                }
    
                if (value != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top