@Override
    public InputStream openStream() {
        if (alreadyOpened) {
            throw new IllegalStateException("Stream already opened");
        }
        alreadyOpened = true;
        return inputStream;
    }
An {@link AssetInfo} wrapper for {@link InputStream InputStreams}.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/asset/StreamAssetInfo.java