public class CopyPasteDocsUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | clearClipboard(String docTypeName)Clears clipboard of the provided doc type,
 or clears all document clipboard if parameter is null. | 
| static List<Document> | getClipboardDocuments(String typeName)Returns the content of the clipboard as a list of
 documents or null if clipboard is empty or does not
 contain documents of the specified type | 
| static List<File> | getClipboardFiles(String typeName)Gets all if parameter is null | 
| static String | getLastMessage(Throwable ex) | 
| static void | saveToClipboard(List<Document> docs)Stores doc list to their clipboard
 to clipboard | 
public static List<File> getClipboardFiles(String typeName)
public static void clearClipboard(String docTypeName) throws IOException
docTypeName - IOExceptionpublic static List<Document> getClipboardDocuments(String typeName) throws IOException, PersistenceException
PersistenceExceptionIOExceptionpublic static void saveToClipboard(List<Document> docs) throws IOException, PersistenceException
st - PersistenceExceptionIOException