Package com.sshtools.common.sshd.config
Class SshdConfigKeyValueEntry
java.lang.Object
com.sshtools.common.sshd.config.SshdConfigFileEntry
com.sshtools.common.sshd.config.SshdConfigKeyValueEntry
-
Constructor Summary
ConstructorsConstructorDescriptionSshdConfigKeyValueEntry(String key, String value) SshdConfigKeyValueEntry(String key, String value, boolean commentedOut, boolean indented) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()getNext()getValue()String[]booleanbooleanhasNext()booleanhasParts()booleanbooleanvoidsetCommentedOut(boolean commentedOut) voidvoidsetNext(SshdConfigFileEntry next) voidtoString()
-
Constructor Details
-
SshdConfigKeyValueEntry
-
SshdConfigKeyValueEntry
-
-
Method Details
-
getFormattedLine
- Specified by:
getFormattedLinein classSshdConfigFileEntry
-
hasNext
public boolean hasNext()- Overrides:
hasNextin classSshdConfigFileEntry
-
getNext
- Overrides:
getNextin classSshdConfigFileEntry
-
setNext
- Overrides:
setNextin classSshdConfigFileEntry
-
isCommentedOut
public boolean isCommentedOut()- Specified by:
isCommentedOutin classSshdConfigFileEntry
-
toString
-
getKey
-
setKey
-
getValue
- Specified by:
getValuein classSshdConfigFileEntry
-
setValue
- Specified by:
setValuein classSshdConfigFileEntry
-
hasParts
public boolean hasParts() -
hasCommaSV
public boolean hasCommaSV() -
hasSpaceSV
public boolean hasSpaceSV() -
getValueParts
-
setCommentedOut
public void setCommentedOut(boolean commentedOut) - Specified by:
setCommentedOutin classSshdConfigFileEntry
-