Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 236 for url (0.14 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
            final String url = "file:///home/user/";
            assertEquals("http://localhost/user/", pathMappingHelper.replaceUrl(sessionId, url));
        }
    
        public void test_replaceUrls() {
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

         */
        @Test
        public void testForEachZipInputStream() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final URL jarURL = new File(JarFileUtil.toJarFilePath(classURL)).toURI().toURL();
            ResourceTraversalUtil.forEach(new ZipInputStream(jarURL.openStream()), (ResourceHandler) (path, is) -> {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

        }
    
        /**
         * URLで指定されたZipファイルのパスを返します。
         *
         * @param zipUrl
         *            Zipファイルを示すURL。{@literal null}であってはいけません
         * @return URLで指定されたZipファイルのパス
         */
        public static String toZipFilePath(final URL zipUrl) {
            assertArgumentNotNull("zipUrl", zipUrl);
    
            final String urlString = zipUrl.getPath();
            final int pos = urlString.lastIndexOf('!');
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Resources.java

       * Returns a {@link ByteSource} that reads from the given URL.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(URL url) {
        return new UrlByteSource(url);
      }
    
      /** A byte source that reads from a URL using {@link URL#openStream()}. */
      private static final class UrlByteSource extends ByteSource {
    
        private final URL url;
    
        private UrlByteSource(URL url) {
          this.url = checkNotNull(url);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
                throw new IllegalArgumentException("path, url, reader or inputStream must be non null");
            }
            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

     * under the License.
     */
    package org.apache.maven.extension.internal;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Set;
    
    import org.apache.maven.api.xml.XmlNode;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 07:14:56 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected static final String OIC_AUTH_SERVER_URL = "oic.auth.server.url";
    
        protected static final String OIC_CLIENT_ID = "oic.client.id";
    
        protected static final String OIC_SCOPE = "oic.scope";
    
        protected static final String OIC_REDIRECT_URL = "oic.redirect.url";
    
        protected static final String OIC_TOKEN_SERVER_URL = "oic.token.server.url";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. 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();
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

         * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to
         * convert URL-encoded bytes to characters.
         *
         * @param url The URL to decode, may be <code>null</code>.
         * @return The decoded URL or <code>null</code> if the input was <code>null</code>.
         */
        private static String decode(String url) {
            String decoded = url;
            if (url != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            }
    
            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
            if (idx >= 0) {
                url = url.substring(idx + 3);
            }
    
            idx = url.indexOf('/');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            if (url.equals(originalUrl)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top