Package org.jpass.utils
Class ReadFile
java.lang.Object
org.jpass.utils.ReadFile
Read file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if string is in file (used for checking if password is in file) Also check for similar strings using Levenshtein distance (if distance is less than 4)static String
Read file and return string
-
Constructor Details
-
ReadFile
public ReadFile()
-
-
Method Details
-
read
Read file and return string- Parameters:
file
- file to readprint
- also print file content- Returns:
- file content
-
isInFile
Check if string is in file (used for checking if password is in file) Also check for similar strings using Levenshtein distance (if distance is less than 4)- Parameters:
match
- string to match- Returns:
- boolean value of string existence
-