Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getResourceName (0.15 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            }
            final Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType());
            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, getResourceName(responseData));
            params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType());
            String content = null;
            try (final InputStream in = responseData.getResponseBody()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getRepositoryId());
            message.style(STYLE).append(": ").append(resource.getRepositoryUrl());
            message.resetStyle().append(resource.getResourceName());
    
            out.println(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            message.append(action).append(' ').append(direction).append(' ').append(resource.getRepositoryId());
            message.append(": ");
            message.append(resource.getRepositoryUrl()).append(resource.getResourceName());
    
            out.info(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            println(
                    "transferInitiated",
                    message + ": " + event.getResource().getRepositoryUrl()
                            + event.getResource().getResourceName());
        }
    
        @Override
        public void transferProgressed(TransferEvent event) {
            TransferResource resource = event.getResource();
            downloads.put(resource, event.getTransferredBytes());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                long complete = Math.max(0, entry.transferredBytes);
                long total = Math.max(complete, entry.resource.getContentLength());
    
                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top