Skip to content

Commit 503da25

Browse files
committed
Removing the ResettableFileInputStream class since we updated to using Channels instead of streams.
1 parent af69acc commit 503da25

File tree

4 files changed

+2
-125
lines changed

4 files changed

+2
-125
lines changed

ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ public abstract GetObjectResponse getObject(GetObjectRequest request)
143143
/**
144144
* Puts a new object to an existing bucket to a DS3 endpoint. If the InputStream passed into the PutObjectRequest
145145
* is not seekable, meaning if InputStream.markSupported() returns false, the request will fail and throw a
146-
* {@link com.spectralogic.ds3client.networking.RequiresMarkSupportedException}. If using a FileInputStream see
147-
* {@link com.spectralogic.ds3client.helpers.ResettableFileInputStream} to make seekable.
146+
* {@link com.spectralogic.ds3client.networking.RequiresMarkSupportedException}.
148147
* @param request The Put Object Request object used to customize the HTTP request. The put object request object
149148
* has some options for customizing the request. See {@link PutObjectRequest} for the full list of
150149
* options that can be configured.

ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/PutObjectRequest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424

2525
/**
2626
* Maps to a DS3 Single Object Put request. This request requires that the InputStream is seekable, that is the
27-
* InputStream.markSupported() method must return true. By default the Java FileInputStream does not do this. To
28-
* use a FileInputStream see {@link com.spectralogic.ds3client.helpers.ResettableFileInputStream} which wraps a
29-
* FileInputStream and makes it seekable.
27+
* InputStream.markSupported() method must return true. By default the Java FileInputStream does not do this.
3028
*/
3129
public class PutObjectRequest extends AbstractRequest {
3230

ds3-sdk/src/main/java/com/spectralogic/ds3client/helpers/ResettableFileInputStream.java

Lines changed: 0 additions & 77 deletions
This file was deleted.

ds3-sdk/src/test/java/com/spectralogic/ds3client/helpers/ResettableFileInputStream_Test.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)