public static Path newLock(final Path path) { Path lockPath = newLockPath(path); return PathFactory.newPath(path.getFileName() + LOCK_FILE_EXTENSION, lockPath.toURI() + LOCK_FILE_EXTENSION); }
@Override public Path save(final Path path, final String content, final DefaultMetadata _metadata, final String _comment) { return vfsServices.write(path, content); }
@Override public String getMessage(final Path path) { return path.toURI() + " cannot be deleted, moved or renamed. It contains the following locked files: " + lockInfos; } };
private Path stripFileName( final Path path ) { String uri = path.toURI(); uri = uri.replace( path.getFileName(), "" ); return PathFactory.newPath( path.getFileSystem(), path.getFileName(), uri ); }
private Path stripFileName( final Path path ) { String uri = path.toURI(); uri = uri.replace( path.getFileName(), "" ); return PathFactory.newPathBasedOn( path.getFileName(), uri, path ); }
@Override public void callback( final Map response ) { final BasicFileAttributes attrs = AttrsUtil.toBasicFileAttributes( response ); if ( attrs.isRegularFile() ) { activePath = stripFileName( path ); setText( activePath.toURI() ); } else { activePath = path; setText( activePath.toURI() ); } }
public static FileSystem newFS(final Map<String, String> roots, final Set<String> supportedViews) { return new FileSystemImpl(roots, supportedViews); }
@Override public String getMessage( final Path path ) { return path.toURI() + " cannot be deleted, renamed or moved, because it is a required project file or directory."; } };
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (updated)]"; } });
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (added)]"; } });
public FolderItemKey(String name, Path root, String s3) { super(name, root.toURI(), s3); }
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (updated)]"; } });
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (deleted)]"; } });
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (updated)]"; } });
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (deleted)]"; } });
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (updated)]"; } });
@Override public String getValue(final Path file) { return file.toURI(); } };
@Override public String getMessage(final Path path) { return path.toURI() + " cannot be deleted, moved or renamed. It contains the following locked files: " + lockInfos; } };
@Override public String getDescription() { return "Incremental Build [" + resource.toURI() + " (added)]"; } });