public class ListSpooledFiles
extends java.lang.Object
Constructor and Description |
---|
ListSpooledFiles() |
Modifier and Type | Method and Description |
---|---|
SpooledFileInfo[] |
getSpooledFiles(CommandConnection conn)
Returns an array of spooled files for the current user, similar to the way WRKSPLF does.
|
void |
getSpooledFiles(CommandConnection conn,
SpooledFileInfoListener listener) |
SpooledFileInfo[] |
getSpooledFiles(CommandConnection conn,
java.lang.String user)
Returns an array of spooled files for the specified user, similar to the way WRKSPLF does.
|
void |
getSpooledFiles(CommandConnection conn,
java.lang.String user,
SpooledFileInfoListener listener) |
public SpooledFileInfo[] getSpooledFiles(CommandConnection conn) throws java.io.IOException
conn
- The connection to use.java.io.IOException
public void getSpooledFiles(CommandConnection conn, SpooledFileInfoListener listener) throws java.io.IOException
java.io.IOException
public SpooledFileInfo[] getSpooledFiles(CommandConnection conn, java.lang.String user) throws java.io.IOException
conn
- The connection to use.user
- The user name, or *CURRENT, or *ALL.java.io.IOException
public void getSpooledFiles(CommandConnection conn, java.lang.String user, SpooledFileInfoListener listener) throws java.io.IOException
java.io.IOException