Java OutputStream Write String writeStringKey(final Object key, final ObjectOutputStream oos)

Here you can find the source of writeStringKey(final Object key, final ObjectOutputStream oos)

Description

write String Key

License

Open Source License

Declaration

private static void writeStringKey(final Object key, final ObjectOutputStream oos) throws IOException 

Method Source Code

//package com.java2s;

import java.io.IOException;

import java.io.ObjectOutputStream;

public class Main {
    private static void writeStringKey(final Object key, final ObjectOutputStream oos) throws IOException {
        oos.writeObject(key);// w  ww  . jav  a2 s  .  c  om
    }
}

Related

  1. writeString(String str, ObjectOutputStream dos)
  2. writeString(String value, OutputStream os)
  3. writeStringAsAsciiBytes(String in, OutputStream out)
  4. writeStringCompressed(ByteArrayOutputStream baos, String s)
  5. writeStringKey(final Object key, final ObjectOutputStream oos)
  6. writeStringMap(ObjectOutputStream out, Map map)
  7. writeStringSmart(ByteArrayOutputStream baos, String s, Map knownStrings)
  8. writeStringStringMap(Map map, OutputStream os)
  9. writeStringStringMap(Map map, OutputStream os)