Searched defs:append (Results 1 - 22 of 22) sorted by relevance

/libcore/luni/src/main/java/java/io/
H A DFileWriter.java47 * {@code append} determines whether or not the file is opened and appended
52 * @param append
53 * indicates whether or not to append to an existing file.
57 public FileWriter(File file, boolean append) throws IOException { argument
58 super(new FileOutputStream(file, append));
85 * parameter {@code append} determines whether or not the file is opened and
90 * @param append
91 * indicates whether or not to append to an existing file.
95 public FileWriter(String filename, boolean append) throws IOException { argument
96 super(new FileOutputStream(filename, append));
[all...]
H A DFileOutputStream.java78 * If {@code append} is true and the file already exists, it will be appended to; otherwise
83 public FileOutputStream(File file, boolean append) throws FileNotFoundException { argument
87 this.mode = O_WRONLY | O_CREAT | (append ? O_APPEND : O_TRUNC);
122 * If {@code append} is true and the file already exists, it will be appended to; otherwise
127 public FileOutputStream(String path, boolean append) throws FileNotFoundException { argument
128 this(new File(path), append);
H A DStringWriter.java123 buf.append(chars, offset, count);
135 buf.append((char) oneChar);
147 buf.append(str);
167 buf.append(sub);
175 * the character to append to the target stream.
179 public StringWriter append(char c) { method in class:StringWriter
195 public StringWriter append(CharSequence csq) { method in class:StringWriter
225 public StringWriter append(CharSequence csq, int start, int end) { method in class:StringWriter
H A DWriter.java176 * the character to append to the target stream.
181 public Writer append(char c) throws IOException { method in class:Writer
198 public Writer append(CharSequence csq) throws IOException { method in class:Writer
229 public Writer append(CharSequence csq, int start, int end) throws IOException { method in class:Writer
H A DCharArrayWriter.java244 public CharArrayWriter append(char c) { method in class:CharArrayWriter
260 public CharArrayWriter append(CharSequence csq) { method in class:CharArrayWriter
264 append(csq, 0, csq.length());
272 * {@code CharArrayWriter.append(csq)} works the same way as {@code
292 public CharArrayWriter append(CharSequence csq, int start, int end) { method in class:CharArrayWriter
H A DPrintStream.java616 public PrintStream append(char c) { method in class:PrintStream
625 public PrintStream append(CharSequence charSequence) { method in class:PrintStream
651 public PrintStream append(CharSequence charSequence, int start, int end) { method in class:PrintStream
H A DPrintWriter.java667 * the character to append to the target.
671 public PrintWriter append(char c) { method in class:PrintWriter
687 public PrintWriter append(CharSequence csq) { method in class:PrintWriter
691 append(csq, 0, csq.length());
717 public PrintWriter append(CharSequence csq, int start, int end) { method in class:PrintWriter
/libcore/luni/src/main/java/java/lang/
H A DAppendable.java22 * Declares methods to append characters or character sequences. Any class that
41 * the character to append.
46 Appendable append(char c) throws IOException; method in interface:Appendable
50 * not append the whole sequence, for example if the target is a buffer with
56 * the character sequence to append.
61 Appendable append(CharSequence csq) throws IOException; method in interface:Appendable
67 * to calling {@code append(csq.subSequence(start, end))}.
72 * the character sequence to append.
86 Appendable append(CharSequence csq, int start, int end) throws IOException; method in interface:Appendable
H A DStringBuilder.java35 * {@code new StringBuilder("a").append("b").append("c").toString()}.
104 * the {@code boolean} value to append.
108 public StringBuilder append(boolean b) { method in class:StringBuilder
119 * the {@code char} value to append.
123 public StringBuilder append(char c) { method in class:StringBuilder
134 * the {@code int} value to append.
138 public StringBuilder append(int i) { method in class:StringBuilder
153 public StringBuilder append(long l) { method in class:StringBuilder
164 * the {@code float} value to append
168 public StringBuilder append(float f) { method in class:StringBuilder
183 public StringBuilder append(double d) { method in class:StringBuilder
198 public StringBuilder append(Object obj) { method in class:StringBuilder
215 public StringBuilder append(String str) { method in class:StringBuilder
229 public StringBuilder append(StringBuffer sb) { method in class:StringBuilder
248 public StringBuilder append(char[] chars) { method in class:StringBuilder
270 public StringBuilder append(char[] str, int offset, int len) { method in class:StringBuilder
284 public StringBuilder append(CharSequence csq) { method in class:StringBuilder
310 public StringBuilder append(CharSequence csq, int start, int end) { method in class:StringBuilder
[all...]
H A DStringBuffer.java36 * {@code new StringBuffer("a").append("b").append("c").toString()}.
109 * the boolean to append.
113 public StringBuffer append(boolean b) { method in class:StringBuffer
114 return append(b ? "true" : "false");
121 * the character to append.
125 public synchronized StringBuffer append(char ch) { method in class:StringBuffer
135 * the double to append.
139 public StringBuffer append(double d) { method in class:StringBuffer
149 * the float to append
153 public StringBuffer append(float f) { method in class:StringBuffer
167 public StringBuffer append(int i) { method in class:StringBuffer
181 public StringBuffer append(long l) { method in class:StringBuffer
199 public synchronized StringBuffer append(Object obj) { method in class:StringBuffer
218 public synchronized StringBuffer append(String string) { method in class:StringBuffer
236 public synchronized StringBuffer append(StringBuffer sb) { method in class:StringBuffer
256 public synchronized StringBuffer append(char[] chars) { method in class:StringBuffer
277 public synchronized StringBuffer append(char[] chars, int start, int length) { method in class:StringBuffer
294 public synchronized StringBuffer append(CharSequence s) { method in class:StringBuffer
322 public synchronized StringBuffer append(CharSequence s, int start, int end) { method in class:StringBuffer
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DAppendable.java31 public void append(byte[] src); method in interface:Appendable
H A DSSLEngineAppData.java43 public void append(byte[] src) { method in class:SSLEngineAppData
H A DSSLSocketInputStream.java140 public void append(byte[] src) { method in class:SSLSocketInputStream.Adapter
H A DHandshakeIODataStream.java32 * The first data pipe is a pipe of income data: append method
188 public void append(byte[] src) { method in class:HandshakeIODataStream
189 append(src, 0, src.length);
192 private void append(byte[] src, int from, int length) { method in class:HandshakeIODataStream
/libcore/luni/src/main/java/java/util/logging/
H A DXMLFormatter.java57 sb.append("<record>").append(nl);
58 append(sb, 1, "date", date);
59 append(sb, 1, "millis", time);
60 append(sb, 1, "sequence", r.getSequenceNumber());
62 append(sb, 1, "logger", r.getLoggerName());
64 append(sb, 1, "level", r.getLevel().getName());
66 append(sb, 1, "class", r.getSourceClassName());
69 append(sb, 1, "method", r.getSourceMethodName());
71 append(s
131 private static void append(StringBuilder sb, int indentCount, String tag, Object value) { method in class:XMLFormatter
[all...]
H A DFileHandler.java50 * <li>java.util.logging.FileHandler.append specifies whether this
51 * {@code FileHandler} should append onto existing files, defaults to
116 // whether the FileHandler should open a existing file for output in append
118 private boolean append; field in class:FileHandler
181 && (!append || files[0].length() >= limit)) {
207 new FileOutputStream(fileName, append)), files[0].length());
222 append = (a == null) ? getBooleanProperty(className + ".append",
282 sb.append(value, cur, next - cur - 1).append(ge
408 FileHandler(String pattern, boolean append) argument
475 FileHandler(String pattern, int limit, int count, boolean append) argument
[all...]
/libcore/support/src/test/java/libcore/java/io/
H A DNullPrintStream.java62 public PrintStream append(char c) { return this; } method in class:NullPrintStream
63 public PrintStream append(CharSequence csq) { return this; } method in class:NullPrintStream
64 public PrintStream append(CharSequence csq, int start, int end) { return this; } method in class:NullPrintStream
/libcore/luni/src/main/java/java/nio/
H A DCharBuffer.java638 result.append(get(i));
655 public CharBuffer append(char c) { method in class:CharBuffer
664 * Calling this method has the same effect as {@code append(csq.toString())}.
676 public CharBuffer append(CharSequence csq) { method in class:CharBuffer
703 public CharBuffer append(CharSequence csq, int start, int end) { method in class:CharBuffer
/libcore/luni/src/main/native/
H A Djava_nio_charset_Charsets.cpp36 * Because a call to append might require an allocation, it might fail. Callers should always
37 * check the return value of append.
53 bool append(jbyte b) { function in class:NativeUnsafeByteSequence
199 if (!out.append(ch)) {
204 if (!out.append((ch >> 6) | 0xc0) || !out.append((ch & 0x3f) | 0x80)) {
212 if (!out.append('?')) {
225 if (!out.append(b1) || !out.append(b2) || !out.append(b
[all...]
H A Dorg_apache_harmony_xml_ExpatParser.cpp887 * them to NULL in the append() functions.
1002 static void append(JNIEnv* env, jobject object, jint pointer, function
1023 append(env, object, pointer, bytes, byteOffset, byteCount, XML_FALSE);
1036 append(env, object, pointer, bytes, byteOffset, byteCount, XML_FALSE);
1046 append(env, object, pointer, bytes, 0, byteCount, isFinal);
/libcore/luni/src/main/java/java/text/
H A DSimpleDateFormat.java543 append(buffer, field, fields, (char) last, count);
547 buffer.append('\'');
561 append(buffer, field, fields, (char) last, count);
568 append(buffer, field, fields, (char) last, count);
572 buffer.append((char) next);
576 append(buffer, field, fields, (char) last, count);
581 private void append(StringBuffer buffer, FieldPosition position, method in class:SimpleDateFormat
594 buffer.append(formatData.eras[calendar.get(Calendar.ERA)]);
670 buffer.append(formatData.ampms[calendar.get(Calendar.AM_PM)]);
713 buffer.append(day
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java344 entityParser.append("<externalEntity>");
346 entityParser.append("</externalEntity>");
357 entityParser.append("<externalEntity>"
360 entityParser.append("</externalEntity>"
378 entityParser.append("<externalEntity>"
381 entityParser.append("</externalEntity>"
404 /*package*/ void append(String xml) throws SAXException { method in class:ExpatParser
424 /*package*/ void append(char[] xml, int offset, int length) method in class:ExpatParser
443 /*package*/ void append(byte[] xml) throws SAXException { method in class:ExpatParser
444 append(xm
456 /*package*/ void append(byte[] xml, int offset, int length) method in class:ExpatParser
[all...]

Completed in 1000 milliseconds