remove obsolete fcp directory
[jSite2.git] / src / net / pterodactylus / util / fcp / PeerNote.java
diff --git a/src/net/pterodactylus/util/fcp/PeerNote.java b/src/net/pterodactylus/util/fcp/PeerNote.java
deleted file mode 100644 (file)
index 4efbc4f..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * © 2008 INA Service GmbH
- */
-package net.pterodactylus.util.fcp;
-
-/**
- * The “PeerNote” message contains a private note that has been entered for a
- * darknet peer.
- * 
- * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
- * @version $Id$
- */
-public class PeerNote extends BaseMessage {
-
-       /** The type for base64 encoded peer notes. */
-       public static final int TYPE_PRIVATE_PEER_NOTE = 1;
-
-       /**
-        * Creates a “PeerNote” message that wraps the recevied message.
-        * 
-        * @param receivedMessage
-        *            The received message
-        */
-       PeerNote(FcpMessage receivedMessage) {
-               super(receivedMessage);
-       }
-
-       /**
-        * Returns the base64-encoded note text.
-        * 
-        * @return The note text
-        */
-       public String getNoteText() {
-               return getField("NoteText");
-       }
-
-       /**
-        * Returns the type of the peer note.
-        * 
-        * @return The type of the peer note, or <code>-1</code> if the type can
-        *         not be parsed
-        */
-       public int getPeerNoteType() {
-               return FcpUtils.safeParseInt(getField("PeerNoteType"));
-       }
-
-}