public class StringsConfig extends Object implements Serializable
Constructor and Description |
---|
StringsConfig()
Default contructor.
|
StringsConfig(InputStream is)
Loads properties from InputStream and then tries to close InputStream.
|
Modifier and Type | Method and Description |
---|---|
StringsEncoding |
getEncoding()
Returns the character encoding of the strings that are to be found.
|
int |
getMinLength()
Returns the minimum sequence length (characters) to print.
|
String |
getStringsPath()
Returns the "strings" installation folder.
|
int |
getTimeout()
Returns the maximum time (in seconds) to wait for the "strings" command
to terminate.
|
void |
setEncoding(StringsEncoding encoding)
Sets the character encoding of the strings that are to be found.
|
void |
setMinLength(int minLength)
Sets the minimum sequence length (characters) to print.
|
void |
setStringsPath(String path)
Sets the "strings" installation folder.
|
void |
setTimeout(int timeout)
Sets the maximum time (in seconds) to wait for the "strings" command to
terminate.
|
public StringsConfig()
public StringsConfig(InputStream is)
is
- public String getStringsPath()
public int getMinLength()
public StringsEncoding getEncoding()
StringsEncoding
enum that represents the character
encoding of the strings that are to be found.public int getTimeout()
public void setStringsPath(String path)
path
- the "strings" installation folder.public void setMinLength(int minLength)
minLength
- the minimum sequence length (characters) to print.public void setEncoding(StringsEncoding encoding)
encoding
- StringsEncoding
enum that represents the character
encoding of the strings that are to be found.public void setTimeout(int timeout)
timeout
- the maximum time (in seconds) to wait for the "strings"
command to terminate.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.