typo
This commit is contained in:
parent
e6e2879b72
commit
75ec57a5d4
|
@ -19,7 +19,7 @@ public class IniFileMetaInfo {
|
|||
/**
|
||||
* read maximum chunk size
|
||||
*/
|
||||
private final int blockingFactor; // todo: this is probably an optional propery, come up with some default
|
||||
private final int blockingFactor; // todo: this is probably an optional property, come up with some default
|
||||
|
||||
public IniFileMetaInfo(RawIniFile file) {
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.opensr5.ini;
|
|||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
|
@ -30,6 +32,9 @@ public class RawIniFile {
|
|||
}
|
||||
}
|
||||
|
||||
public static RawIniFile read(String fileName) throws FileNotFoundException {
|
||||
return IniFileReader.read(new FileInputStream(fileName));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public Line getMandatoryLine(String key) {
|
||||
|
|
Loading…
Reference in New Issue