En curso

Creating File Sorter Using Java

Below are the instructions for the Java exercise. Please email back the [url removed, login to view] file once you have completed the exercise.

Write a class called FileSorter which will read one or more text files and merge their contents, storing them in a collection of strings, one string per line, omitting blank lines. The class should provide an iterator over the strings in the collection in alphabetical order.

Here is a skeleton implementation:

public class FileSorter implements Iterable<String>

{

public void readFiles (String[] filePaths) throws IOException {

// TODO

}

public Iterator<String> iterator() {

// TODO

}

}

You can use any classes in the JDK 1.8 standard library. Pay attention to considerations such as error handling, thread safety, memory usage, performance, and code clarity and maintainability.

Habilidades: Java

Ver más: how to sort a text file alphabetically in java, how to sort data in text file in java, java sort large text file, java sort files by name, java read text file and sort, java sort file contents alphabetically, c program to sort contents of a file, how do i sort records in a text file using java, peer peer file sharing using java, display binary file content using java swing, send text file mobile using java, time taken send file destination using java code, download file ftp using java swing, import excel file mysql using java, pgp file encryption using java

Información del empleador:
( 1 comentario ) Dallas, United States

ID de proyecto: #14916395

Adjudicado a:

kahilH

Hello, i would like to do the exercice , please message me for more discussion Relevant Skills and Experience i am a developer , feel free to check my freelancer account Proposed Milestones $20 USD - full Thank you Más

$20 USD en 1 día
(5 comentarios)
3.2

12 los freelancers están ofertando un promedio de $32 para este trabajo.

NovaSofts

Hello Sir/Ma’am We have been working on Freelancer for 2 years & providing the best services to our [url removed, login to view] can see our profile for checking [url removed, login to view] can provide perfect Quality work. thanks Relevant Skills an Más

$30 USD en 1 día
(120 comentarios)
6.5
asadrana91

Allow me to help? If you require quality and don't have much issues with the cost of it. Work would be commendable and provided in the required time! Relevant Skills and Experience Java Proposed Milestones $133 USD - Más

$133 USD en 3 días
(76 comentarios)
6.3
mahershahmeer

Hi there! I will deliver the Code in just 1-2 Hours. I will start writing it right now. Let me know if you are interested. Thanks Relevant Skills and Experience Java, DataStructure Proposed Milestones $25 USD - Fil Más

$25 USD en 1 día
(100 comentarios)
5.7
$30 USD en 1 día
(15 comentarios)
5.7
$25 USD en 1 día
(3 comentarios)
4.7
$10 USD en 1 día
(28 comentarios)
4.4
microservices

Please award us the project Relevant Skills and Experience more than 5 years in java Proposed Milestones $15 USD - final

$15 USD en 1 día
(17 comentarios)
3.8
meetravig

I read and understood requirements. I have got over 10 years of experience in Java. Let us connect and discuss the scope in detail. Relevant Skills and Experience Java Proposed Milestones $15 USD - Initial Payment $1 Más

$30 USD en 1 día
(3 comentarios)
1.4
$22 USD en 1 día
(0 comentarios)
0.0
$10 USD en 1 día
(0 comentarios)
0.0
MaryumAkhter1

I love to work in android applications recently worked on a mental health project in android and have a work experience of 1.5-2 years in this field, will love to work with you. Thank You Relevant Skills and Experienc Más

$30 USD en 1 día
(0 comentarios)
0.0