Skip to content

Commit ec6d80a

Browse files
committed
Javadoc
1 parent e8d0dd0 commit ec6d80a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

src/main/java/org/apache/commons/io/build/AbstractOrigin.java

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,13 @@ public ByteArrayOrigin(final byte[] origin) {
422422
super(origin);
423423
}
424424

425+
/**
426+
* {@inheritDoc}
427+
*
428+
* <p>
429+
* No conversion should occur when calling this method.
430+
* </p>
431+
*/
425432
@Override
426433
public byte[] getByteArray() {
427434
// No conversion
@@ -483,6 +490,13 @@ public byte[] getByteArray() throws IOException {
483490
return IOUtils.toByteArray(getInputStream());
484491
}
485492

493+
/**
494+
* {@inheritDoc}
495+
*
496+
* <p>
497+
* No conversion should occur when calling this method.
498+
* </p>
499+
*/
486500
@Override
487501
protected Channel getChannel(final OpenOption... options) throws IOException {
488502
// No conversion
@@ -560,6 +574,9 @@ protected Channel getChannel(final OpenOption... options) throws IOException {
560574
* <p>
561575
* The {@code charset} parameter is ignored since a {@link CharSequence} does not need a {@link Charset} to be read.
562576
* </p>
577+
* <p>
578+
* No conversion should occur when calling this method.
579+
* </p>
563580
*/
564581
@Override
565582
public CharSequence getCharSequence(final Charset charset) {
@@ -626,6 +643,13 @@ protected Channel getChannel(final OpenOption... options) throws IOException {
626643
return Files.newByteChannel(getPath(), options);
627644
}
628645

646+
/**
647+
* {@inheritDoc}
648+
*
649+
* <p>
650+
* No conversion should occur when calling this method.
651+
* </p>
652+
*/
629653
@Override
630654
public File getFile() {
631655
// No conversion
@@ -670,6 +694,9 @@ protected Channel getChannel(final OpenOption... options) throws IOException {
670694
* <p>
671695
* The {@code options} parameter is ignored since a {@link InputStream} does not need an {@link OpenOption} to be read.
672696
* </p>
697+
* <p>
698+
* No conversion should occur when calling this method.
699+
* </p>
673700
*/
674701
@Override
675702
public InputStream getInputStream(final OpenOption... options) {
@@ -748,6 +775,9 @@ protected Channel getChannel(final OpenOption... options) throws IOException {
748775
* <p>
749776
* The {@code options} parameter is ignored since a {@link OutputStream} does not need an {@link OpenOption} to be written.
750777
* </p>
778+
* <p>
779+
* No conversion should occur when calling this method.
780+
* </p>
751781
*/
752782
@Override
753783
public OutputStream getOutputStream(final OpenOption... options) {
@@ -799,6 +829,13 @@ public File getFile() {
799829
return get().toFile();
800830
}
801831

832+
/**
833+
* {@inheritDoc}
834+
*
835+
* <p>
836+
* No conversion should occur when calling this method.
837+
* </p>
838+
*/
802839
@Override
803840
public Path getPath() {
804841
// No conversion
@@ -885,6 +922,9 @@ public InputStream getInputStream(final OpenOption... options) throws IOExceptio
885922
* <p>
886923
* The {@code charset} parameter is ignored since a {@link Reader} does not need a {@link Charset} to be read.
887924
* </p>
925+
* <p>
926+
* No conversion should occur when calling this method.
927+
* </p>
888928
*/
889929
@Override
890930
public Reader getReader(final Charset charset) throws IOException {
@@ -983,6 +1023,9 @@ public OutputStream getOutputStream(final OpenOption... options) throws IOExcept
9831023
* <p>
9841024
* The {@code options} parameter is ignored since a {@link Writer} does not need an {@link OpenOption} to be written.
9851025
* </p>
1026+
* <p>
1027+
* No conversion should occur when calling this method.
1028+
* </p>
9861029
*/
9871030
@Override
9881031
public Writer getWriter(final Charset charset, final OpenOption... options) throws IOException {

0 commit comments

Comments
 (0)