de.scheisseichfindemalkeinen.importexport
Class ImportLinkList

java.lang.Object
  extended by de.scheisseichfindemalkeinen.importexport.ImportLinkList

public class ImportLinkList
extends java.lang.Object

Class for import links from textfiles


Constructor Summary
ImportLinkList()
          Constructor
ImportLinkList(java.lang.String strFile)
          Constructor
 
Method Summary
 void read()
          Read the textfile The textfile here already must have in the first 3 lines have this information: BH{af2f0750-c598-4826-8e5f-bb98aab519a5} Title Referrer For textfiles without this lines use readRaw() Then it can be a link per line or a link then a tab and then a thumbnail-URL per line Example: http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg or http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg http://img207.imagevenue.com/loc579/th_30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg The textfile will be deleted after it is read completely.
 void readRaw()
          Read the textfile It can be a link per line or a link then a tab and then a thumbnail-URL per line Example: http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg or http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg http://img207.imagevenue.com/loc579/th_30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg This method opens the Download-Selection-Dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportLinkList

public ImportLinkList()
Constructor


ImportLinkList

public ImportLinkList(java.lang.String strFile)
Constructor

Parameters:
strFile - Text-File
Method Detail

read

public void read()
Read the textfile The textfile here already must have in the first 3 lines have this information: BH{af2f0750-c598-4826-8e5f-bb98aab519a5} Title Referrer For textfiles without this lines use readRaw() Then it can be a link per line or a link then a tab and then a thumbnail-URL per line Example: http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg or http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg http://img207.imagevenue.com/loc579/th_30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg The textfile will be deleted after it is read completely. Because i used this method only for textfiles created by browser-plugins and after the files are read there is no further use for them. This method opens the Download-Selection-Dialog


readRaw

public void readRaw()
Read the textfile It can be a link per line or a link then a tab and then a thumbnail-URL per line Example: http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg or http://img207.imagevenue.com/img.php?image=30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg http://img207.imagevenue.com/loc579/th_30493_BJ_Nora_Tschirner_CID__002_122_579lo.jpg This method opens the Download-Selection-Dialog