Searched defs:path (Results 1 - 25 of 363) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DUtils.java34 static String convertPath(String path) { argument
37 return path;
40 char[] cs = path.toCharArray();
/openjdk7/langtools/test/tools/javac/6257443/
H A DT6257443.java69 public static URL find(String path) { argument
70 return T6257443.class.getClassLoader().getSystemResource(path);
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTreeModel.java70 * Subclassed to message setString() to the changed path item.
73 public void valueForPathChanged(TreePath path, Object newValue) { argument
75 DefaultMutableTreeNode aNode = (DefaultMutableTreeNode) path.
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DTreeExpansionEvent.java32 * An event used to identify a single path in a tree. The source
56 protected TreePath path; field in class:TreeExpansionEvent
63 * @param path a TreePath object identifying the newly expanded
66 public TreeExpansionEvent(Object source, TreePath path) { argument
68 this.path = path;
72 * Returns the path to the value that has been expanded/collapsed.
74 public TreePath getPath() { return path; }
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DRowMapper.java39 * Returns the rows that the TreePath instances in <code>path</code>
42 * in <code>path</code> is not valid its entry in the array should
45 int[] getRowsForPaths(TreePath[] path); argument
/openjdk7/jdk/src/share/classes/java/io/
H A DFileNotFoundException.java76 private FileNotFoundException(String path, String reason) { argument
77 super(path + ((reason == null)
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DPathMatcher.java40 * Tells if given path matches this matcher's pattern.
42 * @param path
43 * the path to match
45 * @return {@code true} if, and only if, the path matches this
48 boolean matches(Path path); argument
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/useGetURLs/
H A DUseGetURLs.java29 * a space-separated list of the class loader's path of URLs.
126 private static URL[] pathToURLs(String path) argument
129 StringTokenizer st = new StringTokenizer(path); // divide by spaces
/openjdk7/jdk/src/solaris/classes/sun/misc/
H A DFileURLMapper.java46 String path; field in class:FileURLMapper
53 * @returns the platform specific path corresponding to the URL
58 if (path != null) {
59 return path;
63 path = url.getFile();
64 path = ParseUtil.decode (path);
66 return path;
/openjdk7/jdk/src/share/classes/java/beans/
H A DPropertyEditorManager.java39 * "Editor" to it and looks in a search-path of packages for a matching
112 * @param path Array of package names.
118 public static void setEditorSearchPath(String[] path) { argument
123 ThreadGroupContext.getContext().getPropertyEditorFinder().setPackages(path);
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A DFileTypeDetector.java86 * @param path
87 * the path to the file to probe
104 public abstract String probeContentType(Path path) argument
/openjdk7/jdk/src/solaris/native/sun/management/
H A DFileSystemImpl.c47 const char *path = JNU_GetStringPlatformChars(env, str, &isCopy); local
48 if (path != NULL) {
50 if (stat64(path, &sb) == 0) {
56 JNU_ReleaseStringPlatformChars(env, str, path);
/openjdk7/jdk/src/windows/classes/sun/management/
H A DFileSystemImpl.java41 String path = f.getAbsolutePath();
42 if (!isSecuritySupported0(path)) {
45 return isAccessUserOnly0(path);
52 static native boolean isSecuritySupported0(String path) throws IOException; argument
54 static native boolean isAccessUserOnly0(String path) throws IOException; argument
/openjdk7/jdk/src/windows/native/common/
H A Djdk_util_md.c44 char path[MAX_PATH]; local
47 if (GetSystemDirectory(path, sizeof(path)) != 0) {
48 strcat(path, "\\");
49 strcat(path, name);
50 handle = LoadLibrary(path);
54 if (GetWindowsDirectory(path, sizeof(path)) != 0) {
55 strcat(path, "\\");
56 strcat(path, nam
[all...]
/openjdk7/jdk/test/java/beans/Beans/
H A DTest4080522.java43 String[] path = {"a", "b"};
45 test(path);
62 Introspector.setBeanInfoSearchPath(path);
68 PropertyEditorManager.setEditorSearchPath(path);
76 test(path);
79 private static void test(String[] path) { argument
83 Introspector.setBeanInfoSearchPath(path);
84 PropertyEditorManager.setEditorSearchPath(path);
/openjdk7/jdk/test/java/io/File/
H A DGetAbsolutePath.java36 private static void ck(String path, String ans) throws Exception { argument
37 File f = new File(path);
40 System.err.println(path + " ==> " + p);
42 throw new Exception(path + ": expected " + ans + ", got " + p);
72 /* Empty path */
83 /* Empty path */
H A DGetParent.java34 static void check(String path, String[] parents) throws Exception { argument
35 File f = new File(path);
37 System.err.print(path + ":");
50 throw new Exception("Too many parents for " + path);
H A DIsAbsolute.java34 private static void ck(String path, boolean ans) throws Exception { argument
35 File f = new File(path);
38 throw new Exception(path + ": expected " + ans + ", got " + x);
39 System.err.println(path + " ==> " + x);
/openjdk7/jdk/test/java/net/URL/
H A DB4148751.java39 final static String path = "/some file.html"; field in class:B4148751
67 if (!uri.getPath().equals (path)) {
69 path);
74 URI uri1 = new URI (scheme, auth, path);
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DSkipSiblings.java38 // check if this path's directory has been skipped
39 static void check(Path path) { argument
40 if (skipped.contains(path.getParent()))
41 throw new RuntimeException(path + " should not have been visited");
44 // indicates if the siblings of this path should be skipped
45 static boolean skip(Path path) { argument
46 Path parent = path.getParent();
/openjdk7/langtools/src/share/classes/com/sun/source/util/
H A DTreePathScanner.java32 * support for maintaining a path for the parent nodes.
46 public R scan(TreePath path, P p) { argument
47 this.path = path;
49 return path.getLeaf().accept(this, p);
51 this.path = null;
57 * The current path is updated for the duration of the scan.
64 TreePath prev = path;
65 path = new TreePath(path, tre
81 private TreePath path; field in class:TreePathScanner
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathValidator/targetConstraints/
H A DValidateTargetConstraints.java54 * path, but adds a requirement that the serial number of the last
63 private static CertPath path; field in class:ValidateTargetConstraints
72 validate(path, params);
87 path = cf.generateCertPath(list);
100 * @param certFilePath path to file containing DER-encoded certificate
126 * @param path CertPath to validate
130 public static void validate(CertPath path, PKIXParameters params) argument
134 CertPathValidatorResult cpvr = validator.validate(path, params);
/openjdk7/jdk/test/javax/swing/JTree/8003830/
H A Dbug8003830.java60 public Rectangle getPathBounds(JTree tree, TreePath path) { argument
/openjdk7/jdk/test/javax/swing/JTree/8004298/
H A Dbug8004298.java111 public Rectangle getPathBounds(JTree tree, TreePath path) { argument
114 if (path != null && path.toString().contains("football")) {
118 return super.getPathBounds(tree, path);
/openjdk7/jdk/src/solaris/classes/sun/management/
H A DFileSystemImpl.java46 static native boolean isAccessUserOnly0(String path) throws IOException; argument

Completed in 2421 milliseconds

1234567891011>>