Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
as2_task.png 91.3 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
compress_task.png 54.6 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
copy_task.png 135.1 kB 5 29-Dec-2020 05:25 Halmágyi Árpád
png
decompress_task.png 53.4 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
delete_task.png 118.0 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
email_task.png 72.3 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
exclude_task.png 44.2 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
execute_task.png 96.6 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
fileparser_task.png 64.9 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
find_task.png 129.1 kB 5 29-Dec-2020 05:25 Halmágyi Árpád
png
findcache_task.png 51.0 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
http_task.png 89.5 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
java_task.png 51.2 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
jump_task.png 77.4 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
jump_task_groupby.png 28.6 kB 1 07-Jan-2022 14:47 Ada Csaba
png
kill_task.png 44.5 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
link_task.png 49.4 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
makedirectory_task.png 109.9 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
move_task.png 129.3 kB 4 29-Dec-2020 05:25 Halmágyi Árpád
png
pgp_task.png 61.2 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
popimap_task.png 115.0 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
preview_task.png 43.9 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
rename_task.png 59.7 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
sort_task.png 44.7 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
jpg
sql_task.jpg 141.0 kB 1 03-Jun-2021 17:24 Ada Csaba
png
sql_task.png 85.3 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
tunnel_task.png 54.2 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
unzip_task.png 59.1 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
userlist_task.png 68.3 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
userslist_task.png 31.9 kB 1 29-Dec-2020 05:25 Ben Spink
png
uservariable_task.png 68.3 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
wait_task.png 51.8 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
writefile_task.png 90.3 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
zip_task.png 58.4 kB 4 29-Dec-2020 05:25 Halmágyi Árpád

This page (revision-77) was last changed on 17-Nov-2023 16:13 by Ada Csaba

This page was created on 29-Dec-2020 05:25 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 162 added 58 lines
!Java
Here is a sample class that needs to be in the class path. You then reference it directly in the job. You need to include the library for CrushTask.jar for this. Then in your java class, reference "task.MyClass"
{{{
package tasks;
import java.util.Properties;
import java.util.Vector;
public class MyClass extends Task
{
public MyClass(Properties prefs, Vector items, Properties info, Vector threads)
{
super(prefs, items, info, threads);
}
public Task go()
{
run();
return null;
}
public void run()
{
try
{
newItems.addAll(items);//keep all the items for the next task.
for (int x = 0; x < items.size(); x++)
{
Properties p = (Properties) items.elementAt(x);
System.out.println(p.getProperty("url"));
}
Vector v = (Vector) prefs.get("prop_item");
Properties prop_item = new Properties();
for (int x = 0; x < v.size(); x++)
{
Properties p = (Properties) v.elementAt(x);
prop_item.put(p.getProperty("key"), p.getProperty("val", ""));
}
Enumeration keys = prop_item.keys();
while (keys.hasMoreElements())
{
String key = keys.nextElement().toString();
String val = prop_item.getProperty(key, "").trim();
}
msg("MyClass");
}
catch (Exception e)
{
e.printStackTrace();
msg(e);
error = e;
}
}
}
}}}
----
Version Date Modified Size Author Changes ... Change note
77 17-Nov-2023 16:13 17.312 kB Ada Csaba to previous
76 13-Jul-2023 00:05 17.123 kB Sandor to previous | to last
75 19-May-2023 11:11 17.031 kB Sanci to previous | to last
74 09-Apr-2023 23:59 16.935 kB Sandor to previous | to last
73 09-Apr-2023 23:55 16.931 kB Sandor to previous | to last
72 22-Feb-2023 06:34 16.932 kB krivacsz to previous | to last
71 22-Feb-2023 06:33 16.925 kB krivacsz to previous | to last
70 02-May-2022 09:25 16.776 kB Sandor to previous | to last
69 28-Apr-2022 09:57 16.742 kB Halmágyi Árpád to previous | to last
68 17-Jan-2022 10:00 16.63 kB Ada Csaba to previous | to last
67 17-Jan-2022 09:59 16.61 kB Ada Csaba to previous | to last
66 05-Nov-2021 03:44 16.37 kB Ben Spink to previous | to last
65 08-Oct-2021 12:22 15.959 kB Ben Spink to previous | to last
64 17-Jul-2021 02:22 15.729 kB Ben Spink to previous | to last
63 03-Jun-2021 17:32 15.552 kB Ada Csaba to previous | to last
62 03-Jun-2021 17:25 15.369 kB Ada Csaba to previous | to last
61 03-Jun-2021 17:23 15.306 kB Ada Csaba to previous | to last
« This page (revision-77) was last changed on 17-Nov-2023 16:13 by Ada Csaba
G’day (anonymous guest)
CrushFTP10 | What's New
JSPWiki