Skip to content

Commit

Permalink
Expose getters for some corresponding setters
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrosstmc committed Nov 18, 2018
1 parent 00747d5 commit 0233290
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,10 @@ public void setInputStream(InputStream in) {
clnames.clear();
}

public InputStream getInputStream() {
return input;
}

@Override
public void resetToCopyOf(byte[] bytes, int off, int len) {
input.reset();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,10 @@ public void setOutstream(OutputStream outstream) {
else
buffout.setOutstream(outstream);
}

public OutputStream getOutstream() {
return buffout;
}

/**
* writes current buffer to underlying output and resets buffer.
Expand Down

0 comments on commit 0233290

Please sign in to comment.