JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Old 18.01.2020, 19:25
BJN01 BJN01 is offline
JD Beta
Join Date: Jan 2020
Posts: 56
Question file Class (?)

I don't know languages ​​and the like but I'm trying to understand how some plugins work to try to make one but there are some things I am doubtful about and would like a clarification (if possible):

JD plugins are files like "NameSite.class", so to "tell" jd what to save from the site "AAA.example" I have to write the commands in an "AAAexample.class" file and place it in the dir "... jd \ plugins \ decrypter"

to test it is sufficient to restart jd?
will the class file be detected automatically or should it be inserted in some particular list? (or specific file of jd ??)

to restore a class that does not work, with a previous version that works, is it enough to replace it?
[if "yes", when this operation does not produce results what should I correct ?? (if I were able)]

in addition to regex what should I go into?

[the basic idea is to make jd automatically read some links that at the moment I have to go to "paste" him]
Reply With Quote
Old 19.01.2020, 02:31
raztoki's Avatar
raztoki raztoki is offline
English Supporter
Join Date: Apr 2010
Location: Australia
Posts: 16,973

java files can have any naming scheme you want, but we use domain name or abbreviations of that so we can easily find java source files. Regex pattern determines if a site is supported and at what level.

if you are editing a java file and compiling yourself you should be able just replace the class files and JD should utilise. Restart wouldn't be needed unless existing class was utilised (held in memory). Easiest solution would be to restart, if you're unsure.

Under the current (q and a above) if a update comes out it will auto replace your class file. If you would like to revert I would cut the original out of the directory and place it somewhere for safe keeping.

raztoki @ jDownloader reporter/developer

Don't fight the system, use it to your advantage. :]
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:42.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.