public class OutputStreamOrPath extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
OutputStream |
protected Path |
path |
| Constructor and Description |
|---|
OutputStreamOrPath(OutputStream OutputStream) |
OutputStreamOrPath(Path path) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream() |
Path |
getPath() |
boolean |
isOutputStream() |
boolean |
isPath() |
protected Path path
protected OutputStream OutputStream
public OutputStreamOrPath(Path path)
public OutputStreamOrPath(OutputStream OutputStream)
public boolean isPath()
public Path getPath()
public boolean isOutputStream()
public OutputStream getOutputStream()
Copyright © 2020. All rights reserved.