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

1 what do you get if you add -14 to itself 4 times what is

1. What do you get if you add -1/4 to itself 4 times? What is -1/4 × 4? Are they the same? What should they be? 2. Write down the bit pattern in the fraction of value 1/3 assuming a floating point format that uses binary ...

1 using the cidr notation show the link local address in

1. Using the CIDR notation, show the link local address in which the node identifier is 0::123/48. 2. Using the CIDR notation, show the site local address in which the node identifier is 0::123/48. 3. An IPv6 packet cons ...

1 using the window method and a nonkaiser window design a

1. Using the window method and a nonKaiser window, design a digital highpass filter with Ω s = 0.45π, Ω p = 0.5π, and α s = 60 dB 2. Using the window method with a Blackman window, design a length Lh = 11 digital bandpas ...

Computer aided engineering final examq1 figure shows a

Computer Aided Engineering Final Exam Q1. Figure shows a concrete reinforced slab undergoing deflection under its own weight. Using the FEM principles (stiffness method), calculate a. Deflection and reactions at the node ...

Prepare a table showing the storage contents and outputs

Prepare a table showing the storage contents and outputs for the LFSR shown in the accompanying illustration, with initial conditions shown In the delay elements Also, determine the connection polynomial C(D)

Louis reasoner has just read an advertisement for a raid

Louis Reasoner has just read an advertisement for a RAID controller that provides a choice of two configurations. According to the advertisement, the first configuration is exactly the RAID 4 system described in Section ...

1 the binary search tree operations can also be implemented

1. The binary search tree operations can also be implemented iteratively. Design and implement an iterative solution for each operation: (a) search (b) find minimum (c) insert (d) delete 2. Design and implement the funct ...

Modify exercise 1 so that the class can keep track of

Modify Exercise 1 so that the class can keep track of multiple courses. Write a program to test your implementation. Exercise 1 Design and implement a class that allows a teacher to track the grades in a single course. I ...

Directory services4 page word doc and 1 visioyou were hired

Directory Services 4 page word doc and 1 Visio You were hired as a consultant to analyze an existing Windows Server environment in a utilizing Windows Server 2003 and 2008. The local IT administrator has heard about virt ...

Both turtles and patches can create visual images in the

Both turtles and patches can create visual images in the NetLogo view. Create a turtle and have it draw a circle (using the PEN-DOWN command). Create the outline of a circle with patches without using a turtle pen. Write ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro