org.kie.commons.java.nio.file
public final class Files extends Object
Modifier and Type | Method and Description |
---|---|
static long |
copy(InputStream in,
org.kie.commons.java.nio.file.Path target,
org.kie.commons.java.nio.file.CopyOption... options) |
static long |
copy(org.kie.commons.java.nio.file.Path source,
OutputStream out) |
static org.kie.commons.java.nio.file.Path |
copy(org.kie.commons.java.nio.file.Path source,
org.kie.commons.java.nio.file.Path target,
org.kie.commons.java.nio.file.CopyOption... options) |
static org.kie.commons.java.nio.file.Path |
createDirectories(org.kie.commons.java.nio.file.Path dir,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createDirectory(org.kie.commons.java.nio.file.Path dir,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createFile(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createLink(org.kie.commons.java.nio.file.Path link,
org.kie.commons.java.nio.file.Path existing) |
static org.kie.commons.java.nio.file.Path |
createSymbolicLink(org.kie.commons.java.nio.file.Path link,
org.kie.commons.java.nio.file.Path target,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createTempDirectory(org.kie.commons.java.nio.file.Path dir,
String prefix,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createTempDirectory(String prefix,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createTempFile(org.kie.commons.java.nio.file.Path dir,
String prefix,
String suffix,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.Path |
createTempFile(String prefix,
String suffix,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static void |
delete(org.kie.commons.java.nio.file.Path path) |
static boolean |
deleteIfExists(org.kie.commons.java.nio.file.Path path) |
static boolean |
exists(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static Object |
getAttribute(org.kie.commons.java.nio.file.Path path,
String attribute,
org.kie.commons.java.nio.file.LinkOption... options) |
static <V extends org.kie.commons.java.nio.file.attribute.FileAttributeView> |
getFileAttributeView(org.kie.commons.java.nio.file.Path path,
Class<V> type,
org.kie.commons.java.nio.file.LinkOption... options) |
static org.kie.commons.java.nio.file.FileStore |
getFileStore(org.kie.commons.java.nio.file.Path path) |
static org.kie.commons.java.nio.file.attribute.FileTime |
getLastModifiedTime(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static org.kie.commons.java.nio.file.attribute.UserPrincipal |
getOwner(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static Set<org.kie.commons.java.nio.file.attribute.PosixFilePermission> |
getPosixFilePermissions(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static boolean |
isDirectory(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static boolean |
isExecutable(org.kie.commons.java.nio.file.Path path) |
static boolean |
isHidden(org.kie.commons.java.nio.file.Path path) |
static boolean |
isReadable(org.kie.commons.java.nio.file.Path path) |
static boolean |
isRegularFile(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static boolean |
isSameFile(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.Path path2) |
static boolean |
isSymbolicLink(org.kie.commons.java.nio.file.Path path) |
static boolean |
isWritable(org.kie.commons.java.nio.file.Path path) |
static org.kie.commons.java.nio.file.Path |
move(org.kie.commons.java.nio.file.Path source,
org.kie.commons.java.nio.file.Path target,
org.kie.commons.java.nio.file.CopyOption... options) |
static BufferedReader |
newBufferedReader(org.kie.commons.java.nio.file.Path path,
Charset cs) |
static BufferedWriter |
newBufferedWriter(org.kie.commons.java.nio.file.Path path,
Charset cs,
org.kie.commons.java.nio.file.OpenOption... options) |
static org.kie.commons.java.nio.channels.SeekableByteChannel |
newByteChannel(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.OpenOption... options) |
static org.kie.commons.java.nio.channels.SeekableByteChannel |
newByteChannel(org.kie.commons.java.nio.file.Path path,
Set<? extends org.kie.commons.java.nio.file.OpenOption> options,
org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) |
static org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> |
newDirectoryStream(org.kie.commons.java.nio.file.Path dir) |
static org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> |
newDirectoryStream(org.kie.commons.java.nio.file.Path dir,
org.kie.commons.java.nio.file.DirectoryStream.Filter<org.kie.commons.java.nio.file.Path> filter) |
static org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> |
newDirectoryStream(org.kie.commons.java.nio.file.Path dir,
String glob) |
static InputStream |
newInputStream(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.OpenOption... options) |
static OutputStream |
newOutputStream(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.OpenOption... options) |
static boolean |
notExists(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.LinkOption... options) |
static String |
probeContentType(org.kie.commons.java.nio.file.Path path) |
static byte[] |
readAllBytes(org.kie.commons.java.nio.file.Path path) |
static List<String> |
readAllLines(org.kie.commons.java.nio.file.Path path,
Charset cs) |
static <A extends org.kie.commons.java.nio.file.attribute.BasicFileAttributes> |
readAttributes(org.kie.commons.java.nio.file.Path path,
Class<A> type,
org.kie.commons.java.nio.file.LinkOption... options) |
static Map<String,Object> |
readAttributes(org.kie.commons.java.nio.file.Path path,
String attributes,
org.kie.commons.java.nio.file.LinkOption... options) |
static org.kie.commons.java.nio.file.Path |
readSymbolicLink(org.kie.commons.java.nio.file.Path link) |
static org.kie.commons.java.nio.file.Path |
setAttribute(org.kie.commons.java.nio.file.Path path,
String attribute,
Object value,
org.kie.commons.java.nio.file.LinkOption... options) |
static org.kie.commons.java.nio.file.Path |
setLastModifiedTime(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.attribute.FileTime time) |
static org.kie.commons.java.nio.file.Path |
setOwner(org.kie.commons.java.nio.file.Path path,
org.kie.commons.java.nio.file.attribute.UserPrincipal owner) |
static org.kie.commons.java.nio.file.Path |
setPosixFilePermissions(org.kie.commons.java.nio.file.Path path,
Set<org.kie.commons.java.nio.file.attribute.PosixFilePermission> perms) |
static long |
size(org.kie.commons.java.nio.file.Path path) |
static org.kie.commons.java.nio.file.Path |
walkFileTree(org.kie.commons.java.nio.file.Path start,
org.kie.commons.java.nio.file.FileVisitor<org.kie.commons.java.nio.file.Path> visitor) |
static org.kie.commons.java.nio.file.Path |
walkFileTree(org.kie.commons.java.nio.file.Path start,
Set<org.kie.commons.java.nio.file.FileVisitOption> options,
int maxDepth,
org.kie.commons.java.nio.file.FileVisitor<org.kie.commons.java.nio.file.Path> visitor) |
static org.kie.commons.java.nio.file.Path |
write(org.kie.commons.java.nio.file.Path path,
byte[] bytes,
org.kie.commons.java.nio.file.OpenOption... options) |
static org.kie.commons.java.nio.file.Path |
write(org.kie.commons.java.nio.file.Path path,
Iterable<? extends CharSequence> lines,
Charset cs,
org.kie.commons.java.nio.file.OpenOption... options) |
public static InputStream newInputStream(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.file.NoSuchFileException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException
public static OutputStream newOutputStream(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.OpenOption... options) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.OpenOption... options) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.channels.SeekableByteChannel newByteChannel(org.kie.commons.java.nio.file.Path path, Set<? extends org.kie.commons.java.nio.file.OpenOption> options, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> newDirectoryStream(org.kie.commons.java.nio.file.Path dir) throws IllegalArgumentException, org.kie.commons.java.nio.file.NotDirectoryException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> newDirectoryStream(org.kie.commons.java.nio.file.Path dir, String glob) throws IllegalArgumentException, UnsupportedOperationException, PatternSyntaxException, org.kie.commons.java.nio.file.NotDirectoryException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
PatternSyntaxException
org.kie.commons.java.nio.file.NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.DirectoryStream<org.kie.commons.java.nio.file.Path> newDirectoryStream(org.kie.commons.java.nio.file.Path dir, org.kie.commons.java.nio.file.DirectoryStream.Filter<org.kie.commons.java.nio.file.Path> filter) throws IllegalArgumentException, org.kie.commons.java.nio.file.NotDirectoryException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NotDirectoryException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createFile(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createDirectory(org.kie.commons.java.nio.file.Path dir, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createDirectories(org.kie.commons.java.nio.file.Path dir, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createSymbolicLink(org.kie.commons.java.nio.file.Path link, org.kie.commons.java.nio.file.Path target, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createLink(org.kie.commons.java.nio.file.Path link, org.kie.commons.java.nio.file.Path existing) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
FileAlreadyExistsException
org.kie.commons.java.nio.IOException
SecurityException
public static void delete(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, org.kie.commons.java.nio.file.NoSuchFileException, org.kie.commons.java.nio.file.DirectoryNotEmptyException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException
public static boolean deleteIfExists(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, org.kie.commons.java.nio.file.DirectoryNotEmptyException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createTempFile(String prefix, String suffix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createTempFile(org.kie.commons.java.nio.file.Path dir, String prefix, String suffix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createTempDirectory(String prefix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path createTempDirectory(org.kie.commons.java.nio.file.Path dir, String prefix, org.kie.commons.java.nio.file.attribute.FileAttribute<?>... attrs) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path copy(org.kie.commons.java.nio.file.Path source, org.kie.commons.java.nio.file.Path target, org.kie.commons.java.nio.file.CopyOption... options) throws UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.file.DirectoryNotEmptyException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path move(org.kie.commons.java.nio.file.Path source, org.kie.commons.java.nio.file.Path target, org.kie.commons.java.nio.file.CopyOption... options) throws UnsupportedOperationException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.file.DirectoryNotEmptyException, org.kie.commons.java.nio.file.AtomicMoveNotSupportedException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
org.kie.commons.java.nio.file.AtomicMoveNotSupportedException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path readSymbolicLink(org.kie.commons.java.nio.file.Path link) throws IllegalArgumentException, UnsupportedOperationException, org.kie.commons.java.nio.file.NotLinkException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
NotLinkException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.FileStore getFileStore(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static String probeContentType(org.kie.commons.java.nio.file.Path path) throws UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static <V extends org.kie.commons.java.nio.file.attribute.FileAttributeView> V getFileAttributeView(org.kie.commons.java.nio.file.Path path, Class<V> type, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalArgumentException
IllegalArgumentException
public static <A extends org.kie.commons.java.nio.file.attribute.BasicFileAttributes> A readAttributes(org.kie.commons.java.nio.file.Path path, Class<A> type, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.file.NoSuchFileException, UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
org.kie.commons.java.nio.file.NoSuchFileException
public static Map<String,Object> readAttributes(org.kie.commons.java.nio.file.Path path, String attributes, org.kie.commons.java.nio.file.LinkOption... options) throws UnsupportedOperationException, org.kie.commons.java.nio.file.NoSuchFileException, IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
org.kie.commons.java.nio.file.NoSuchFileException
public static org.kie.commons.java.nio.file.Path setAttribute(org.kie.commons.java.nio.file.Path path, String attribute, Object value, org.kie.commons.java.nio.file.LinkOption... options) throws UnsupportedOperationException, IllegalArgumentException, ClassCastException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException
public static Object getAttribute(org.kie.commons.java.nio.file.Path path, String attribute, org.kie.commons.java.nio.file.LinkOption... options) throws UnsupportedOperationException, IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static Set<org.kie.commons.java.nio.file.attribute.PosixFilePermission> getPosixFilePermissions(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path setPosixFilePermissions(org.kie.commons.java.nio.file.Path path, Set<org.kie.commons.java.nio.file.attribute.PosixFilePermission> perms) throws UnsupportedOperationException, ClassCastException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
ClassCastException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.attribute.UserPrincipal getOwner(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path setOwner(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.attribute.UserPrincipal owner) throws UnsupportedOperationException, org.kie.commons.java.nio.IOException, SecurityException
UnsupportedOperationException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.attribute.FileTime getLastModifiedTime(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path setLastModifiedTime(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.attribute.FileTime time) throws org.kie.commons.java.nio.IOException, SecurityException
org.kie.commons.java.nio.IOException
SecurityException
public static long size(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static boolean exists(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean notExists(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean isSameFile(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.Path path2) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static boolean isHidden(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static boolean isReadable(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean isWritable(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean isExecutable(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean isSymbolicLink(org.kie.commons.java.nio.file.Path path) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean isDirectory(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalArgumentException, SecurityException
IllegalArgumentException
SecurityException
public static boolean isRegularFile(org.kie.commons.java.nio.file.Path path, org.kie.commons.java.nio.file.LinkOption... options) throws IllegalAccessError, SecurityException
IllegalAccessError
SecurityException
public static org.kie.commons.java.nio.file.Path walkFileTree(org.kie.commons.java.nio.file.Path start, Set<org.kie.commons.java.nio.file.FileVisitOption> options, int maxDepth, org.kie.commons.java.nio.file.FileVisitor<org.kie.commons.java.nio.file.Path> visitor) throws IllegalArgumentException, SecurityException, org.kie.commons.java.nio.IOException
IllegalArgumentException
SecurityException
org.kie.commons.java.nio.IOException
public static org.kie.commons.java.nio.file.Path walkFileTree(org.kie.commons.java.nio.file.Path start, org.kie.commons.java.nio.file.FileVisitor<org.kie.commons.java.nio.file.Path> visitor) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
SecurityException
public static BufferedReader newBufferedReader(org.kie.commons.java.nio.file.Path path, Charset cs) throws IllegalArgumentException, org.kie.commons.java.nio.file.NoSuchFileException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException
public static BufferedWriter newBufferedWriter(org.kie.commons.java.nio.file.Path path, Charset cs, org.kie.commons.java.nio.file.OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
public static long copy(InputStream in, org.kie.commons.java.nio.file.Path target, org.kie.commons.java.nio.file.CopyOption... options) throws org.kie.commons.java.nio.IOException, org.kie.commons.java.nio.file.FileAlreadyExistsException, org.kie.commons.java.nio.file.DirectoryNotEmptyException, UnsupportedOperationException, SecurityException
org.kie.commons.java.nio.IOException
org.kie.commons.java.nio.file.FileAlreadyExistsException
org.kie.commons.java.nio.file.DirectoryNotEmptyException
UnsupportedOperationException
SecurityException
public static long copy(org.kie.commons.java.nio.file.Path source, OutputStream out) throws org.kie.commons.java.nio.IOException, SecurityException
org.kie.commons.java.nio.IOException
SecurityException
public static byte[] readAllBytes(org.kie.commons.java.nio.file.Path path) throws org.kie.commons.java.nio.IOException, OutOfMemoryError, SecurityException
org.kie.commons.java.nio.IOException
OutOfMemoryError
SecurityException
public static List<String> readAllLines(org.kie.commons.java.nio.file.Path path, Charset cs) throws IllegalArgumentException, org.kie.commons.java.nio.file.NoSuchFileException, org.kie.commons.java.nio.IOException, SecurityException
IllegalArgumentException
NoSuchFileException
org.kie.commons.java.nio.IOException
SecurityException
public static org.kie.commons.java.nio.file.Path write(org.kie.commons.java.nio.file.Path path, byte[] bytes, org.kie.commons.java.nio.file.OpenOption... options) throws org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
public static org.kie.commons.java.nio.file.Path write(org.kie.commons.java.nio.file.Path path, Iterable<? extends CharSequence> lines, Charset cs, org.kie.commons.java.nio.file.OpenOption... options) throws IllegalArgumentException, org.kie.commons.java.nio.IOException, UnsupportedOperationException, SecurityException
IllegalArgumentException
org.kie.commons.java.nio.IOException
UnsupportedOperationException
SecurityException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.