Skip to content

Commit

Permalink
Merge pull request #268 from TMCBonds/getters
Browse files Browse the repository at this point in the history
Expose getters for some corresponding setters
  • Loading branch information
RuedigerMoeller authored Nov 18, 2018
2 parents df51396 + 899ce0d commit 8a486fd
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 8a486fd

Please sign in to comment.