Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for getLanguage (0.09 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
                            languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage),
                            handler.getExtension(),
                            handler.getClassifier(),
                            handler.isIncludesDependencies(),
                            JavaPathType.CLASSES,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

        }
    
        @Override
        public boolean isIncludesDependencies() {
            return includesDependencies;
        }
    
        public void setLanguage(String language) {
            this.language = language;
        }
    
        @Override
        public String getLanguage() {
            return language;
        }
    
        @Deprecated
        public void setAddedToClasspath(boolean addedToClasspath) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "java";
        }
    
        @Override
        public String getPackaging() {
            return type;
        }
    
        @Override
        @Deprecated
        public boolean isAddedToClasspath() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
                        type.getLanguage(),
                        type.getExtension(),
                        type.getClassifier(),
                        type.isIncludesDependencies(),
                        type.getPathTypes().toArray(new PathType[0]));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

            this.includesDependencies = includesDependencies;
        }
    
        @Override
        public String getLanguage() {
            if (language == null) {
                return "none";
            }
    
            return language;
        }
    
        public void setLanguage(final String language) {
            this.language = language;
        }
    
        @Override
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            if (targetLocale.equals(requestLocale) || targetLocale.equals(Locale.ROOT)) {
                return true;
            }
            if (requestLocale == null || !requestLocale.getLanguage().equals(targetLocale.getLanguage())
                    || targetLocale.getCountry().length() > 0 && !requestLocale.getCountry().equals(targetLocale.getCountry())) {
                return false;
            }
            return true;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

         *
         * @return the classifier
         */
        String getClassifier();
    
        String getPackaging();
    
        boolean isIncludesDependencies();
    
        String getLanguage();
    
        /**
         * Specifies if the artifact contains java classes and can be added to the classpath.
         * Whether the artifact should be added to the classpath depends on other
         * dependency properties.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

                        type.getExtension(),
                        type.getClassifier(),
                        null,
                        null,
                        type.isIncludesDependencies(),
                        type.getLanguage().id(),
                        type.getPathTypes().contains(JavaPathType.CLASSES));
                // TODO: watch out for module path
            });
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

        @Override
        public String getDirectory() {
            return null;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "none";
        }
    
        @Override
        public String getPackaging() {
            return packaging;
        }
    
        @Override
        @Deprecated
        public boolean isAddedToClasspath() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top