public abstract class Command extends Object
Base class for all commands
| Modifier and Type | Method and Description |
|---|---|
static void |
assert_(boolean isCorrect,
String errorMessage) |
ClassCode |
getElementClass() |
int |
getElementId() |
abstract void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
String |
toString() |
abstract void |
writeAsBinary(IBinaryWriter writer)
Writes/exports the command as binary mode
|
abstract void |
writeAsClearText(IClearTextWriter writer)
Writes/exports the command as clear text mode
|
public final ClassCode getElementClass()
public final int getElementId()
public abstract void readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
reader - public abstract void writeAsClearText(IClearTextWriter writer)
Writes/exports the command as clear text mode
writer - The text writer to write the clear text to.public abstract void writeAsBinary(IBinaryWriter writer)
Writes/exports the command as binary mode
writer - The writer to write the binary content to.public static void assert_(boolean isCorrect,
String errorMessage)
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.