|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use File | |
---|---|
org.classpath.icedtea.java.io |
Uses of File in org.classpath.icedtea.java.io |
---|
Methods in org.classpath.icedtea.java.io that return File | |
---|---|
static File |
File.createTempFile(java.lang.String prefix,
java.lang.String suffix,
boolean deleteOnExit,
FileAttribute<?>... attrs)
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name. |
Methods in org.classpath.icedtea.java.io with parameters of type File | |
---|---|
static byte[] |
Inputs.readAllBytes(File source)
Read all bytes from the specified file. |
static java.util.List<java.lang.String> |
Inputs.readAllLines(File source)
Read all lines from the specified file. |
static java.util.List<java.lang.String> |
Inputs.readAllLines(File source,
java.lang.String csn)
Read all lines from the specified file. |
static void |
Outputs.write(File file,
byte[] bytes)
Writes a byte array to a file. |
static void |
Outputs.write(File file,
byte[] bytes,
int off,
int len)
Writes a byte array to a file. |
static void |
Outputs.writeLines(File file,
java.util.List<java.lang.String> lines)
Writes the given lines of text to the specified file. |
static void |
Outputs.writeLines(File file,
java.util.List<java.lang.String> lines,
java.lang.String csn)
Writes the given lines of text to the specified file. |
static void |
Outputs.writeLines(File file,
java.lang.String... lines)
Writes the given lines of text to the specified file. |
Constructors in org.classpath.icedtea.java.io with parameters of type File | |
---|---|
File(File parent,
java.lang.String child)
Creates a new File instance from a parent abstract
pathname and a child pathname string. |
|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.