public class TextConnectionParameters extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
TextConnectionParameters() |
|
TextConnectionParameters(ConnectionParameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionParameters |
getConnectionParameters() |
String |
getEncoding() |
String |
getEol() |
PropertyFormatter |
getPropertyFormatter() |
int |
getSkipLines() |
URL |
getUrl()
Returns resolved URL for this connection.
|
boolean |
isFlush() |
boolean |
isTrimLines() |
void |
setDefaultNullString(String nullString) |
void |
setEncoding(String encoding) |
void |
setEol(String eol) |
void |
setFlush(boolean flush) |
void |
setSkipLines(int skipLines) |
void |
setTrimLines(boolean trimLines) |
protected TextConnectionParameters()
public TextConnectionParameters(ConnectionParameters parameters)
public ConnectionParameters getConnectionParameters()
public String getEncoding()
public boolean isFlush()
public URL getUrl()
If null, the console is used for reading/writing.
public String getEol()
public int getSkipLines()
public PropertyFormatter getPropertyFormatter()
public void setDefaultNullString(String nullString)
public void setEncoding(String encoding)
public void setFlush(boolean flush)
public void setEol(String eol)
public void setSkipLines(int skipLines)
public boolean isTrimLines()
public void setTrimLines(boolean trimLines)
Copyright © 2006–2019. All rights reserved.