Lines Matching defs:path
59 private final JrtPath path;
63 private JrtFileAttributeView(JrtPath path, boolean isJrtView, LinkOption... options) {
64 this.path = path;
70 static <V extends FileAttributeView> V get(JrtPath path, Class<V> type, LinkOption... options) {
73 return (V) new JrtFileAttributeView(path, false, options);
76 return (V) new JrtFileAttributeView(path, true, options);
81 static JrtFileAttributeView get(JrtPath path, String type, LinkOption... options) {
84 return new JrtFileAttributeView(path, false, options);
87 return new JrtFileAttributeView(path, true, options);
99 return path.getAttributes(options);
106 path.setTimes(lastModifiedTime, lastAccessTime, createTime);
109 static void setAttribute(JrtPath path, String attribute, Object value)
123 path.setTimes((FileTime) value, null, null);
125 path.setTimes(null, (FileTime) value, null);
127 path.setTimes(null, null, (FileTime) value);
135 static Map<String, Object> readAttributes(JrtPath path, String attributes,
149 JrtFileAttributes jrtfas = path.getAttributes();