Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getRepositoryContent (0.08 sec)

  1. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                    .get(stream -> stream.map(String::trim).toArray(n -> new String[n]));
        }
    
        protected List<Artifact> loadArtifactsFromRepository(final String url) {
            final String content = getRepositoryContent(url);
            final ObjectMapper objectMapper = new YAMLMapper();
            try {
                @SuppressWarnings("unchecked")
                final List<Map<?, ?>> result = objectMapper.readValue(content, List.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            pluginHelper = new PluginHelper() {
                protected String[] getRepositories() {
                    return new String[] { "plugin/repo1/", "plugin/repo2/" };
                }
    
                protected String getRepositoryContent(String url) {
                    if (url.endsWith("/")) {
                        url = url + "index.html";
                    }
                    if (url.contains("plugin/repo1")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top