public class PackExt extends Object
Modifier and Type | Field and Description |
---|---|
static PackExt |
BITMAP_INDEX
A pack bitmap index file extension.
|
static PackExt |
INDEX
A pack index file extension.
|
static PackExt |
KEEP
A keep pack file extension.
|
static PackExt |
PACK
A pack file extension.
|
Modifier and Type | Method and Description |
---|---|
int |
getBit() |
String |
getExtension() |
int |
getPosition() |
static PackExt |
newPackExt(String ext)
Returns a PackExt for the file extension and registers it in the values
array.
|
String |
toString() |
static PackExt[] |
values() |
public static final PackExt PACK
public static final PackExt INDEX
public static final PackExt KEEP
public static final PackExt BITMAP_INDEX
public static PackExt[] values()
public static PackExt newPackExt(String ext)
ext
- the file extension.public String getExtension()
public int getPosition()
public int getBit()
1 << getPosition()
.Copyright © 2017 Eclipse JGit Project. All rights reserved.