Skip to content

Comments

Allow external code to provide a seekable (non-file) source#1

Open
volley-se wants to merge 1 commit intoymnk:masterfrom
volley-se:master
Open

Allow external code to provide a seekable (non-file) source#1
volley-se wants to merge 1 commit intoymnk:masterfrom
volley-se:master

Conversation

@volley-se
Copy link

This commit makes VorbisFile.SeekableInputStream public (and static).
Previously, only the VorbisFile itself could use it.

This commit makes VorbisFile.SeekableInputStream public (and static).
Previously, only the VorbisFile itself could use it.
Comment on lines -1382 to -1391
public synchronized void mark(int m){
}

public synchronized void reset() throws java.io.IOException{
}

public boolean markSupported(){
return false;
}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, no functionality added compared to base class

}

class SeekableInputStream extends InputStream{
public static abstract class SeekableInputStream extends InputStream {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main change is that this class is now static and public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant