X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Futil%2Ffreenet%2Ffcp2%2FCommand.java;h=9fc952765a49972843c5c5dec4e224e5cb2bef0f;hb=bbfa208695e2a7f1bb555f841623945767f296e7;hp=d1086c835ec92ff2ae63e0f4adf1bf4aad284bc2;hpb=da127cd41fa65b7ec217f8e9f525ed7534abf5e1;p=jSite.git
diff --git a/src/de/todesbaum/util/freenet/fcp2/Command.java b/src/de/todesbaum/util/freenet/fcp2/Command.java
index d1086c8..9fc9527 100644
--- a/src/de/todesbaum/util/freenet/fcp2/Command.java
+++ b/src/de/todesbaum/util/freenet/fcp2/Command.java
@@ -1,5 +1,5 @@
/*
- * todesbaum-lib -
+ * todesbaum-lib -
* Copyright (C) 2006 David Roden
*
* This program is free software; you can redistribute it and/or modify
@@ -33,7 +33,7 @@ import java.io.Writer;
* name of the {@link de.todesbaum.util.freenet.fcp2.Connection} connects). So
* when receiving messages from the node you should always be prepared for
* something you did not expect.
- *
+ *
* @author David Roden <droden@gmail.com>
* @version $Id$
*/
@@ -56,7 +56,7 @@ public abstract class Command {
/**
* Creates a new command with the specified name and identifier.
- *
+ *
* @param name
* The name of the command
* @param identifier
@@ -69,7 +69,7 @@ public abstract class Command {
/**
* Returns the name of this command.
- *
+ *
* @return The name of this command
*/
public String getCommandName() {
@@ -78,7 +78,7 @@ public abstract class Command {
/**
* Return the identifier of this command.
- *
+ *
* @return The identifier of this command
*/
public String getIdentifier() {
@@ -91,7 +91,7 @@ public abstract class Command {
* NOTE: Subclasses of Command must call
* super.write(writer)
before or after writing their own
* parameters!
- *
+ *
* @param writer
* The stream to write the parameters to
* @throws IOException
@@ -106,7 +106,7 @@ public abstract class Command {
* Returns whether this command has payload to send after the message.
* Subclasses need to return true
here if they need to send
* payload after the message.
- *
+ *
* @return true
if this command has payload to send,
* false
otherwise
*/
@@ -118,7 +118,7 @@ public abstract class Command {
* Returns the payload of this command as an {@link InputStream}. This
* method is never called if {@link #hasPayload()} returns
* false
.
- *
+ *
* @return The payload of this command
*/
protected InputStream getPayload() {
@@ -128,7 +128,7 @@ public abstract class Command {
/**
* Returns the length of the payload. This method is never called if
* {@link #hasPayload()} returns false
.
- *
+ *
* @return The length of the payload
*/
protected long getPayloadLength() {