de.scheisseichfindemalkeinen.importexport
Class ImportPicnicker

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

public class ImportPicnicker
extends java.lang.Object

Class for import keywords from Picnicker Picnicker: http://freenet-homepage.de/vantools/Picnicker.htm Picnicker is also a Download-Tool like BilderHerunterlader. BilderHerunterlader is inspired by Picnicker and a lot of things work more or less exactly the same. But Picnicker had some bugs and some things that i was not happy with it. So i write my own Download-Tool. To make it more easier to change from Picnicker to BilderHerunterlader, i wrote this class, so the users can import there keywords from Picnicker.


Constructor Summary
ImportPicnicker()
          Constructor
 
Method Summary
 void importKeywords()
          Import keywords from the Picnicker-Database
 void importKeywords(java.lang.String file)
          Import keywords from the Picnicker-Database The Picnicker-Database is a textfile.
 void importLog()
          Import keywords from the Picnicker-Database
 void importLog(java.lang.String file)
          Import log from Picnicker The Picnicker-Log is a textfile.
 void importQueue()
          Import Queue from Picnicker
 void importQueue(java.lang.String file)
          Import queue from Picnicker The Picnicker-Queue is a textfile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportPicnicker

public ImportPicnicker()
Constructor

Method Detail

importKeywords

public void importKeywords()
Import keywords from the Picnicker-Database


importKeywords

public void importKeywords(java.lang.String file)
Import keywords from the Picnicker-Database The Picnicker-Database is a textfile. A line looks like this: Title=Keywords%Path

Parameters:
file - File

importQueue

public void importQueue()
Import Queue from Picnicker


importQueue

public void importQueue(java.lang.String file)
Import queue from Picnicker The Picnicker-Queue is a textfile. A line is seperated by tabs A line looks like this: Direct-URL Path+Filename Hoster Filesize (of Container-Page?) Filesize (of Image?) Container-URL Thread-URL Thumbnail-URL? The question-marks means that i am not sure if i am right.

Parameters:
file - File

importLog

public void importLog()
Import keywords from the Picnicker-Database


importLog

public void importLog(java.lang.String file)
Import log from Picnicker The Picnicker-Log is a textfile. But there are 2 different textfiles. DownloadLog.dat: A line is seperated by tabs A line looks like this: Date Container-URL Path+Filename Referrer Filesize Thread-URL Thumbnail-URL? The question-marks means that i am not sure if i am right. The date is saved as yyyy-mm-dd Download.log: There is only one Container-URL per line, nothing else

Parameters:
file - File