Home | How it works | Projects archive | Contact Us
Air Compressor Bot
 
The Career Path of Freelance Programming Jobs 

   Encoding Tool Wrapper - Java

Bidding Time:
03/03/2005 21:26 - 09/03/2005 21:26
Budget:
N/A
Status:
Closed

Job Type:
Java
Description:



Wrapper for encoding tool:


Beginning with this set of Java utilities:
http://cpdetector.sourceforge.net/usage.shtml

I need to create a Java application for command-line use which does this:

- takes a command line argument for a local file.
(like this: % java -jar encode_tool.jar -f input_file.txt )
- local file for input consists of 1 URL per line.
- URL in local input file may be Net (http:...) or local
(/home/user/file.txt)
it is okay if we flag these differently like this:
"-n net_urls.txt" and "-l local_urls.txt"
to just read in a file either Only Net URLs or Only Local URLs.
- Encode tool will retrieve each file at its listed URL.
- Encode tool will detect encoding of each file retrieved.
- Encode tool will output to STDOUT the results:
- Each line of output Results contains the URL, tab separator, encoding
- "encoding" will be of the Java canonical name, such as "Shift_JIS" "UTF-8"
- Encode tool will handle errors:
- When a URL is not available, output becomes "ERR: data_error" in place of
"encoding" after the tab separator
- When a retrieved file cannot be detected, output becomes "ERR: unknown
encoding" in place of "encoding" after the tab separator.
- When an input file is not found, Encode tool can die with error "Input file
not found"

Using the cpdetector, this should be just a matter of creating a wrapper. I
have already tested cpdetector, and it is fine for my encoding needs. This
project will not attempt to try to improve the encoding detection functionality
of cpdetector. Just a command line wrapper for easier use.
Additional Info (Added 3/4/2005 at 5:54 EST)... Oh yes. Before I forget.
It is also important that I get the source code (Java) in addition to a Java Jar
or other binary. I suppose I could also live with just the Java source, and
compile the binary. (assuming it compiles fine on linux. I think I'm on Java
1.3 or 1.4). If the exact Java version becomes an issue, I can add another
update. But I think it is not an issue.

STOPzilla! Anti-Spyware Software

Related Projects:
Collectors Database Interface
Flash modifications
Amazon Custom Software Needed
Ev1 Load Balanced Server Clust
Fillipino Language Template

This project is the proprietary information of . Click here to remove this project from OUR database.
Operating System:
Linux
Database System:
(None)
<<< back

Recent Projects Archive:

Thursday - Wednesday - Tuesday - Monday - Sunday - Saturday - Friday

View all freelance web projects

 
Home | Projects archive | RSS | Resources | Links | Contact Us © 2004-2009 ProjectsList.biz /0.044