Find Jobs
Hire Freelancers

Core Java requirement

$30-5000 USD

Cancelled
Posted almost 13 years ago

$30-5000 USD

Paid on delivery
I need a Java class that has a function called "processInfo(String info)". The parameter "info" has the format "type|sequenceNumber". For instance "info1|0005|6". There will be a directory declared in the class to store "stop processing" files and "sequence files". Note that each type will have its own stop processing and sequence number files (explained below). The "type" can be either "type1" or "type2". The method will receive a parameter "type" and split it. After that it will check if there is a "stop processing" file for that format. If there is such file, the method will e=return. Otherwise, it will check whether the sequence number received in the parameter is the correct one. The sequence number of a specific type will be increasing by one each time. That is, if the sequence number in the file "type1_sequence" is 5, then the sequence number in the next parameter of the same type should be "6". If a wrong sequence number is received, a "stop processing" file for that type will be generated. If the sequence number is correct, a method "foo()" will be called. Simply, we want to make sure the method calls for a specific sequence number always have parameters "info" such that the "sequenceNumber" is increasing by one each time for that specific type. If a "stop processing" file is generated for a specific type, the method will not perform any perform any processing (will always return) for any calls of that type until that "stop processing" file is deleted. File names, directory paths and file names etc will be static variables. The code should be structured (using methods etc) and best coding practices should be followed. Please let me know how fast you can complete the work and how much you'll charge. Feel free to let me know if you have any questions. Thanks,
Project ID: 3217136

About the project

14 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
14 freelancers are bidding on average $69 USD for this job
User Avatar
See private message.
$42.50 USD in 1 day
4.5 (80 reviews)
7.1
7.1
User Avatar
See private message.
$17 USD in 1 day
4.9 (62 reviews)
4.8
4.8
User Avatar
See private message.
$85 USD in 1 day
4.7 (34 reviews)
5.2
5.2
User Avatar
See private message.
$34 USD in 1 day
4.6 (29 reviews)
5.0
5.0
User Avatar
See private message.
$42.50 USD in 1 day
5.0 (8 reviews)
4.1
4.1
User Avatar
See private message.
$127.50 USD in 1 day
4.9 (6 reviews)
3.3
3.3
User Avatar
See private message.
$12.75 USD in 1 day
4.9 (11 reviews)
3.2
3.2
User Avatar
See private message.
$4.25 USD in 1 day
5.0 (8 reviews)
3.2
3.2
User Avatar
See private message.
$297.50 USD in 1 day
4.6 (4 reviews)
2.7
2.7
User Avatar
See private message.
$170 USD in 1 day
5.0 (2 reviews)
2.5
2.5
User Avatar
See private message.
$21.25 USD in 1 day
4.6 (6 reviews)
2.1
2.1
User Avatar
See private message.
$34 USD in 1 day
5.0 (4 reviews)
1.1
1.1
User Avatar
See private message.
$59.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 1 day
4.5 (3 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Burlingame, United States
5.0
169
Payment method verified
Member since Nov 6, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.