Java class for reading CSV's as custom resource

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Vircos
Ebase User
Posts: 97
Joined: Thu Sep 13, 2007 6:07 am
Location: The Netherlands

Java class for reading CSV's as custom resource

#1

Postby Vircos » Mon Oct 08, 2007 9:38 am

Does anyone of you already have a java class for reading CSV-files as custom resource?

That would save me a lot of work figuring out how to write the java class for custom resources :)
0 x
What's the meaning of Justice...

Ian
Ebase Staff
Posts: 26
Joined: Wed Oct 10, 2007 9:40 am
Location: Ebase HQ
Contact:

Code for reading a CSV file

#2

Postby Ian » Wed Oct 10, 2007 11:09 am

Hi Vircos

I have code for a custom resource I developed a couple of years ago.

You are more that welcome to have this and the source code on an as is basis.
You will of course have to modify the code so that it reads the columns of your particular csv.


I have zipped up my code and placed it on:


http://www.ebaseftp.com/forum/forumfiles/csv.zip


There are two class files in the zip file and they should be installed into the following Ebase folders:

sapHRcsv.class - must go into WEB-INF/classes/com/ebasetech/ufs/customresources

Tokenize.class - must go into WEB-INF/com/ebasetech/ufs/customfunctions

If you need additional clarification please make contact.
Also if you make improvements to the code please let me have a copy.



Regards

Ian Bramford
Ebase Technology Limited
0 x

Vircos
Ebase User
Posts: 97
Joined: Thu Sep 13, 2007 6:07 am
Location: The Netherlands

#3

Postby Vircos » Wed Oct 10, 2007 12:10 pm

Thanks Ian.

I will take a look at it when I have some time (currently very bussy with another part of my project).

Offcourse you will get a copy if I make improvements ;)
0 x
What's the meaning of Justice...

Vircos
Ebase User
Posts: 97
Joined: Thu Sep 13, 2007 6:07 am
Location: The Netherlands

#4

Postby Vircos » Thu Jan 27, 2011 7:45 am

Could you post the CSV.zip file again, please?
I have lost it and want to use it.

Many thanks in advance ;)
0 x
What's the meaning of Justice...

Ian
Ebase Staff
Posts: 26
Joined: Wed Oct 10, 2007 9:40 am
Location: Ebase HQ
Contact:

CSV custom resource

#5

Postby Ian » Thu Jan 27, 2011 8:33 am

Hi Vircos

Send me your email address and I will email the zip file to you.
The zip file will contain both the source code and the class file along with a demo application export file (Ebase version 3.4)

My email address is ian.bramford@ebasetech.com
0 x

Vircos
Ebase User
Posts: 97
Joined: Thu Sep 13, 2007 6:07 am
Location: The Netherlands

#6

Postby Vircos » Thu Jan 27, 2011 9:04 am

Sent an email to you Ian :wink:
0 x
What's the meaning of Justice...


Who is online

Users browsing this forum: No registered users and 110 guests