Domanda |
Risposta |
java.io. File mozliwe konstruktory inizia ad imparare
|
|
(no exceptions) File(String pathname), File(String parent, String child), File(URI uri), File(File parent, String child)
|
|
|
java.io. File tworzenie nowego pliku inizia ad imparare
|
|
|
|
|
java.io. File tworzenie nowego katalogu inizia ad imparare
|
|
boolean mkdir() oraz boolean mkdirs() - tworzy całą scieżkę katalogów
|
|
|
java.io. File usuwanie pliku lub katalogu inizia ad imparare
|
|
|
|
|
java.io. File sprawdzenie czy File to katalog inizia ad imparare
|
|
|
|
|
java.io. File sprawdzenie czy File to plik inizia ad imparare
|
|
|
|
|
java.io. File rozmiar pliku inizia ad imparare
|
|
|
|
|
java.io. File zwraca listę plików i podkatalogów inizia ad imparare
|
|
|
|
|
java.io. File zwraca listę głównych katalogów w systemie inizia ad imparare
|
|
|
|
|
java.io. File zmiana nazwy pliku lub katalogu inizia ad imparare
|
|
boolean renameTo(File dest)
|
|
|
java.io. FileReader konstruktory inizia ad imparare
|
|
FileReader(File file) throws FileNotFoundException, FileReader(FileDescriptor fd), FileReader(String fileName) throws FileNotFoundException
|
|
|
java.io. FileReader metody inizia ad imparare
|
|
dziedziczone z java.io. InputStreamReader: int read() throws IOException, void close() throws IOException, boolean ready() throws IOException, String getEncoding()
|
|
|
java.io. FileWriter konstruktory inizia ad imparare
|
|
FileWriter(File file) throws IOException, FileWriter(File file, boolean append) throws IOException, FileWriter(FileDescriptor fd), FileWriter(String fileName) throws IOException, FileWriter(String fileName, boolean append) throws IOException
|
|
|
java.io. FileWriter metody inizia ad imparare
|
|
dziedziczone z java.io. OutputStreamWriter: void close() throws IOException, void flush() throws IOException, void write(String str, int off, int len) throws IOException, void write(char[] cbuf, int off, int len) throws IOException, String getEncoding(), dziedziczone z java.io. Writer: Writer append(char c) throws IOException
|
|
|
java.io. BufferedWriter konstruktory inizia ad imparare
|
|
BufferedWriter(Writer out), BufferedWriter(Writer out, int sz)
|
|
|
java.io. BufferedWriter metody inizia ad imparare
|
|
void close() throws IOException, void flush() throws IOException, void newLine() throws IOException, void write(int c) throws IOException, void write(char[] cbuf, int off, int len) throws IOException, void write(String s, int off, int len) throws IOException, metody z java.io. Writer
|
|
|
java.io. BufferedReader konstruktory inizia ad imparare
|
|
BufferedReader(Reader in), BufferedReader(Reader in, int sz)
|
|
|
java.io. BufferedReader metody inizia ad imparare
|
|
void close() throws IOException, void reset() throws IOException, String readLine() throws IOException, int read(char[] cbuf, int off, int len) throws IOException, int read() throws IOException
|
|
|
java.io. PrintWriter konstruktory inizia ad imparare
|
|
PrintWriter(File file) throws FileNotFoundException, PrintWriter(String fileName) throws FileNotFoundException, PrintWriter(OutputStream out), PrintWriter(Writer out)
|
|
|
java.io. PrintWriter metody inizia ad imparare
|
|
PrintWriter append(char c), void close(), void flush(), PrintWriter format(Locale l, String format, Object... args), void print(String s) i wiele innych przeciążonych printów, void println(String x) i wiele innych, void write(char[] buf), void write(String s, int off, int len), void write(String s), void write(int c)
|
|
|
java.io. ObjectOutputStream konstruktory inizia ad imparare
|
|
public ObjectOutputStream(OutputStream out) throws IOException, protected ObjectOutputStream() throws IOException, SecurityException
|
|
|
java.io. ObjectOutputStream metody inizia ad imparare
|
|
void close() throws IOException, void flush() throws IOException, void write(byte[] buf) throws IOException, void write(int val) throws IOException, a poza tym pisanie wybranych typów (void i IOException): writeBoolean, writeByte, writeBytes(String str), writeChar, writeChars(String str), writeDouble, writeFloat, writeInt, writeLong, writeObject, writeShort, writeUTF(String str)
|
|
|
java.io. ObjectInputStream konstruktory inizia ad imparare
|
|
public ObjectInputStream(InputStream in) throws IOException, protected ObjectInputStream() throws IOException, SecurityException
|
|
|
java.io. ObjectInputStream metody inizia ad imparare
|
|
void close() throws IOException, void defaultReadObject() throws IOException, ClassNotFoundException (NotActiveException jeżeli wywołana spoza readObject), int read()throws IOException, int available() throws IOException, czytanie według konkretnych typów(IOException i typ prymitywny ew. objekt): readBoolean(), readByte, itp...
|
|
|
java.io. FileOutputStream konstruktory inizia ad imparare
|
|
FileOutputStream(File file) throws FileNotFoundException, FileOutputStream(FileDescriptor fdObj), FileOutputStream(String name) throws FileNotFoundException, FileOutputStream(File file, boolean append) throws FileNotFoundException, FileOutputStream(String name, boolean append) throws FileNotFoundException
|
|
|
java.io. FileOutputStream metody inizia ad imparare
|
|
void close() throws IOException, void write(byte[] b) throws IOException, void write(byte[] b, int off, int len) throws IOException, void write(int b) throws IOException
|
|
|
java.io. FileInputStream konstruktory inizia ad imparare
|
|
FileInputStream(File file) throws FileNotFoundException, FileInputStream(FileDescriptor fdObj), FileInputStream(String name) throws FileNotFoundException
|
|
|
java.io. FileInputStream metody inizia ad imparare
|
|
int available() throws IOException, void close() throws IOException, void finalize() throws IOException, int read() throws IOException, int read(byte[] b) throws IOException
|
|
|