/** {@inheritDoc} */ public void writeBytes(final String str) throws IOException { oos.writeBytes(str); }
/** {@inheritDoc} */ @Override public void writeBytes(@NotNull String s) throws IOException { oos.writeBytes(s); }
/** {@inheritDoc} */ @Override public void writeBytes(@NotNull String s) throws IOException { oos.writeBytes(s); }
/** {@inheritDoc} */ public void writeBytes(final String str) throws IOException { oos.writeBytes(str); }
/** {@inheritDoc} */ public void writeBytes(final String str) throws IOException { oos.writeBytes(str); }
/** {@inheritDoc} */ public void writeBytes(final String str) throws IOException { oos.writeBytes(str); }
@Override public void writeBytes(String s) throws IOException { this.raw.writeBytes(s); }
/** {@inheritDoc} */ public void writeBytes(final String str) throws IOException { oos.writeBytes(str); }
/** {@inheritDoc} */ public void writeBytes(final String str) throws IOException { oos.writeBytes(str); }
/** {@inheritDoc} */ @Override public void writeBytes(@NotNull String s) throws IOException { oos.writeBytes(s); }
@Override public void writeBytes(String str) throws IOException { super.writeBytes(str); super.flush(); }
/** {@inheritDoc} */ @Override public void writeBytes(@NotNull String s) throws IOException { oos.writeBytes(s); }
try ( ObjectOutputStream oos = new ObjectOutputStream( new FileOutputStream( "CharToChar.txt" ) ) ) { // write any object to a file oos.writeObject( "I am Manish" ); // another option, works for Strings and makes the String pretty much un-readable oos.writeBytes( "hello world" ); } catch ( IOException e ) { e.printStackTrace(); }
out.writeBytes(en.nextElement() + "\r\n"); out.writeBytes("\r\n");
out.writeBytes(en.nextElement() + "\r\n"); out.writeBytes(new String("\r\n"));
ObjectOutputStream oos = new ObjectOutputStream(fos); oos.writeBytes(text); oos.close(); fos.close();