Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package connection;
- import java.io.ObjectOutputStream;
- import Converter.Converter;
- public class InputListener {
- public InputListener(byte[][] message, ObjectOutputStream output) {
- try {
- String def = new String(message[0]);
- System.out.println(def);
- } catch (Exception e) {
- // TODO: handle exception
- }
- Converter conver = new Converter();
- conver.createFileformByteArray("TestDataSend.jpg", message[1]);
- //if(message.get(0).equals("ChatMessage")){ChatMessage(message.get(1));}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement