Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for separator (0.18 sec)

  1. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * <code>line.separator</code> システムプロパティ。例えばMac OS Xなら
         * <code>&quot;\n&quot;</code>
         */
        public static final String LINE_SEPARATOR = System.getProperty("line.separator");
    
        /**
         * <code>path.separator</code> システムプロパティ。例えばMac OS Xなら
         * <code>&quot;:&quot;</code>
         */
        public static final String PATH_SEPARATOR = System.getProperty("path.separator");
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

        public BaseEncoding withSeparator(String separator, int afterEveryChars) {
          for (int i = 0; i < separator.length(); i++) {
            checkArgument(
                !alphabet.matches(separator.charAt(i)),
                "Separator (%s) cannot contain alphabet characters",
                separator);
          }
          if (paddingChar != null) {
            checkArgument(
                separator.indexOf(paddingChar.charValue()) < 0,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            System.out.println(SystemUtil.FILE_ENCODING);
            System.out.println(SystemUtil.LINE_SEPARATOR);
            System.out.println(SystemUtil.PATH_SEPARATOR);
            System.out.println(SystemUtil.OS_NAME);
            System.out.println(SystemUtil.JAVA_IO_TMPDIR);
            System.out.println(SystemUtil.USER_DIR);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         * @see <a href="https://issues.apache.org/jira/browse/HADOOP-3318">HADOOP-3318</a>
         */
        private static final String DARWIN = "darwin";
    
        /**
         * The path separator.
         */
        private static final String PATH_SEP = System.getProperty("path.separator");
    
        static {
            // Those two public constants are initialized here, as they need all the private constants
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

            final URL url = new URL("jar:" + f.toURI().toURL() + "!/");
            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
         * @throws Exception
         */
        public void testRelativePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param str
         *            文字列
         * @param separator
         *            セパレータ
         * @return 結果の文字列
         */
        public static String substringFromLast(final String str, final String separator) {
            if (isEmpty(str) || isEmpty(separator)) {
                return str;
            }
            final int pos = str.lastIndexOf(separator);
            if (pos == -1) {
                return str;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultNode.java

        }
    
        private static void join(StringBuilder buffer, List<String> details, String separator) {
            boolean first = true;
            for (String detail : details) {
                if (first) {
                    first = false;
                } else {
                    buffer.append(separator);
                }
                buffer.append(detail);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

        }
    
        private PomTestWrapper buildPom(String pomPath) throws Exception {
            File pomFile = new File(testDirectory + File.separator + pomPath, "pom.xml");
            File settingsFile = new File(testDirectory + File.separator + pomPath, "settings.xml");
            Settings settings = readSettingsFile(settingsFile);
    
            ProjectBuildingRequest config = new DefaultProjectBuildingRequest();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

                    return null;
                }
            });
            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.zip", ZipFileUtil.toZipFilePath(url));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top