public class SequentialFileList extends Object
| Constructor and Description |
|---|
SequentialFileList() |
| Modifier and Type | Method and Description |
|---|---|
static File[] |
getSortedList(File dir,
String prefix,
String suffix)
Get a list of files in a directory whose file names are in
a [PREFIX][NUMBER][.SUFFIX] format such as "log-00001.slg".
|
public static File[] getSortedList(File dir, String prefix, String suffix)
dir - is a directory including files. No subdirectories are searched.prefix - is the common prefix of the files.suffix - is the common suffix of the files.Copyright © 2023. All rights reserved.