Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

prepare an application that accomplishes the following tasks:

1) Read a text file that contains, integers, doubles, alphabet, alphanumeric, and others. The name of the input file should be entered as a command-line argument.

2) All other files should also be entered as command-line arguments. For ex, you may include the following:

data6.txt  integersOut.txt doubleOut.txtalphabeticOut.txt alphanumericOut.txt othersOut.txt

3) Check each token you read and save in the appropriate type of ArrayList.  

4) prepare each type of lists to a separate output text file with appropriate header with 6 values per line separated by tabs or spacing.

5) prepare the average values of integers and doubles to the appropriate files

6) prepare the longest token of the alphabet, alphanumeric, and others to the appropriate file.

7) Extra:

I) Document your classes

II) Include Exception handling

III) Indent code inside classes and methods

IV) Keep the methods short and simple. Break long methods by using supporting methods.

V) Name the driver TestMyTextFile6.java

VI) Zip your report, and classes in a file named with your last name

VII) Hint: You may use the String matches() method.

Data6.txt sample input file:

CS Math1111 CS1302A  Spring

VSU Valdosta Georgia

123  4567

-2.5   +100.75   -1234.567.3456  --1234

Is it Thanksgiving?  No!!

Integers:              123         4567

Double:                -2.5        +100.75

Alphabet:            CS           Spring   VSU  Valdosta State University Georgia   Is it

Alphanumeric:  math1111            CS1302

Others: -1234.567.3456  --1234   Thankdgiving?  No!!

 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91132

Have any Question? 


Related Questions in Computer Engineering

In this exercise you create a program that calculates and

In this exercise, you create a program that calculates and displays gross pay amounts. The user will enter the number of hours an employee worked and his or her pay rate. The program should contain four value-returning f ...

A create a system using dasylab which produces the fourier

(a) Create a system using DASYLab which produces the FOURIER synthesis of a sawtooth as in Illustration 25 (b) Create a system using DASYLab which gives you the sum of the first n sinusoidal signals (n = 1,2,3,....9) as ...

Consider the nested loop approach to mining distance-based

Consider the nested loop approach to mining distance-based outliers (Figure 12.6). Suppose the objects in a data set are arranged randomly, that is, each object has the same probability to appear in a position. Show that ...

Topicsthe internetdiscussion response we are currently

Topics:The Internet Discussion Response: We are currently utilizing IPv4; however, IPv6 has been out for over a decade. What has kept much of the world from making the transition to IPv6? Support your claims with researc ...

Ways walmart is trying to meet legal requirements for equal

Ways Walmart is trying to meet legal requirements for equal employee opportunity? In what ways does it actions exceed legal requirements? What can Walmart's HR managers do to help the company improve its performance in c ...

A future contract was entered long time ago it curretly has

A future contract was entered long time ago. It curretly has 6 months to maturity. The continuously compounded is of risk-free rate is 5% per annum, stock price is $15, the delivey is $14.

1 artists use several techniques to create the illusion of

1.) Artists use several techniques to create the illusion of depth on a flat surface. Explain three of these techniques. Your response should be at least 75 words in length. 2.) Describe the characteristics of cool and w ...

For this discussion creating tables can be a valuable way

For this discussion, Creating tables can be a valuable way of displaying information in a Word document. For this discussion, you will talk about your experience in creating tables and using MS Word to perform calculatio ...

Next generation software for a word-processing system is to

Next generation software for a word-processing system is to be developed. Do a few hours of research on the application area and conduct a FAST meeting (Chapter 11) with your fellow students to develop requirements (your ...

Writenbspa 1050- to 1400-word paper in which you do the

Write  a 1,050- to 1,400-word paper in which you do the following:  Describe the project procurement planning process. Identify the most valuable output of the plan procurement process and explain why you believe it is m ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate