org.apache.maven.doxia.module.rtf
Class WMFWriter
java.lang.Object
org.apache.maven.doxia.module.rtf.WMFWriter
- public class WMFWriter
- extends Object
A Windows MetaFile writer.
Method Summary |
void |
add(WMFWriter.Record record)
|
static void |
print(byte[] buf,
int off,
int len,
Writer out)
|
static void |
print(byte[] buf,
int off,
int len,
Writer out,
int lw)
|
void |
print(Writer out)
|
static void |
print16(int word,
Writer out)
|
static void |
print32(int dword,
Writer out)
|
int |
size()
|
void |
write(OutputStream out)
|
void |
write(String fileName)
|
static void |
write16(int word,
OutputStream out)
Writes a 16-bit integer in little-endian format. |
static void |
write32(int dword,
OutputStream out)
Writes a 32-bit integer in little-endian format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMFWriter
public WMFWriter()
add
public void add(WMFWriter.Record record)
size
public int size()
write
public void write(String fileName)
throws IOException
- Throws:
IOException
write
public void write(OutputStream out)
throws IOException
- Throws:
IOException
write16
public static void write16(int word,
OutputStream out)
throws IOException
- Writes a 16-bit integer in little-endian format.
- Throws:
IOException
write32
public static void write32(int dword,
OutputStream out)
throws IOException
- Writes a 32-bit integer in little-endian format.
- Throws:
IOException
print
public void print(Writer out)
throws IOException
- Throws:
IOException
print16
public static void print16(int word,
Writer out)
throws IOException
- Throws:
IOException
print32
public static void print32(int dword,
Writer out)
throws IOException
- Throws:
IOException
print
public static void print(byte[] buf,
int off,
int len,
Writer out)
throws IOException
- Throws:
IOException
print
public static void print(byte[] buf,
int off,
int len,
Writer out,
int lw)
throws IOException
- Throws:
IOException
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.