public class SortFileExtensions extends Object
SortFileExtensions provides algorithms for sort file content.| Constructor and Description |
|---|
SortFileExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sort(File file,
Comparator<String> comparator,
String encoding)
Sort the file content from the given
File. |
public static void sort(File file, Comparator<String> comparator, String encoding) throws FileNotFoundException, IOException
File.file - the filecomparator - the comparatorencoding - the encodingFileNotFoundException - is thrown if the given file is not found.IOException - Signals that an I/O exception has occurred.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.