Package org.aspectj.weaver
Class VersionedDataInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.DataInputStream
-
- org.aspectj.weaver.VersionedDataInputStream
-
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
public class VersionedDataInputStream extends DataInputStream
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description VersionedDataInputStream(InputStream is, ConstantPoolReader constantPoolReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanDecompress()longgetBuildstamp()intgetMajorVersion()intgetMinorVersion()booleanisAtLeast169()StringreadPath()StringreadSignature()UnresolvedTypereadSignatureAsUnresolvedType()StringreadUtf8(int cpIndex)voidsetVersion(AjAttribute.WeaverVersionInfo version)StringtoString()-
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
VersionedDataInputStream
public VersionedDataInputStream(InputStream is, ConstantPoolReader constantPoolReader)
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
-
getMinorVersion
public int getMinorVersion()
-
getBuildstamp
public long getBuildstamp()
-
setVersion
public void setVersion(AjAttribute.WeaverVersionInfo version)
-
readUtf8
public String readUtf8(int cpIndex)
-
canDecompress
public boolean canDecompress()
-
isAtLeast169
public boolean isAtLeast169()
-
readPath
public String readPath() throws IOException
- Throws:
IOException
-
readSignature
public String readSignature() throws IOException
- Throws:
IOException
-
readSignatureAsUnresolvedType
public UnresolvedType readSignatureAsUnresolvedType() throws IOException
- Throws:
IOException
-
-