Searched defs:suffix (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
H A DX509AttributeName.java40 private String suffix = null; field in class:X509AttributeName
54 suffix = name.substring(i + 1);
66 * Return the suffix of the name.
69 return (suffix);
/libcore/ojluni/src/main/java/java/util/
H A DStringJoiner.java30 * and ending with a supplied suffix.
33 * {@code sj.toString()} method will, by default, return {@code prefix + suffix}.
38 * {@code suffix} is <code>"}"</code> and nothing has been added to the
68 private final String suffix; field in class:StringJoiner
73 * suffix, so that we can more easily add elements without having to jigger
74 * the suffix each time.
79 * By default, the string consisting of prefix+suffix, returned by
88 * {@code prefix} or {@code suffix}, and a copy of the supplied
92 * {@code prefix} or {@code suffix} (or properties thereof) in the result,
105 * of the supplied {@code prefix}, {@code delimiter} and {@code suffix}
118 StringJoiner(CharSequence delimiter, CharSequence prefix, CharSequence suffix) argument
[all...]
H A DResourceBundle.java2699 * same string as its file suffix if it's not one of the default
2851 * <code>'.'</code> and the given file <code>suffix</code>. For
2853 * <code>"foo.bar.MyResources_ja_JP"</code> and <code>suffix</code>
2859 * @param suffix
2860 * the file type suffix
2863 * if <code>bundleName</code> or <code>suffix</code>
2866 public final String toResourceName(String bundleName, String suffix) { argument
2867 StringBuilder sb = new StringBuilder(bundleName.length() + 1 + suffix.length());
2868 sb.append(bundleName.replace('.', '/')).append('.').append(suffix);
/libcore/support/src/test/java/tests/support/
H A DSupport_GetLocal.java90 public static File createTempFile(String suffix) throws IOException { argument
91 return File.createTempFile("hyts_", suffix, null);
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java123 public static File createTempFile(String suffix) throws IOException { argument
124 return File.createTempFile("hyts_", suffix, null);
/libcore/ojluni/src/main/java/java/io/
H A DFile.java1759 private static File generateTempFile(String prefix, String suffix, File dir) argument
1770 String name = prefix + Integer.toString(n) + suffix;
1779 * given prefix and suffix strings to generate its name. If this method
1797 * <code>suffix</code> argument may be <code>null</code>, in which case the
1798 * suffix <code>".tmp"</code> will be used.
1800 * <p> To create the new file, the prefix and the suffix may first be
1803 * characters will always be preserved. If the suffix is too long then it
1808 * prefix, five or more internally-generated characters, and the suffix.
1823 * @param suffix The suffix strin
1846 createTempFile(String prefix, String suffix, File directory) argument
1902 createTempFile(String prefix, String suffix) argument
[all...]
/libcore/ojluni/src/main/java/java/util/stream/
H A DCollectors.java285 * suffix, in encounter order.
290 * @param suffix the sequence of characters to be used at the end
297 CharSequence suffix) {
299 () -> new StringJoiner(delimiter, prefix, suffix),
295 joining(CharSequence delimiter, CharSequence prefix, CharSequence suffix) argument
/libcore/ojluni/src/main/java/java/lang/
H A DString.java1340 * Tests if this string ends with the specified suffix.
1342 * @param suffix the suffix.
1344 * argument is a suffix of the character sequence represented by
1350 public boolean endsWith(String suffix) { argument
1351 return startsWith(suffix, count - suffix.count);

Completed in 254 milliseconds