|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.fat.PartitionEntry
public class PartitionEntry
Copyright (C) 2007 Claudio Nieder <private@claudio.ch>, CH-8610 Uster
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Field Summary | |
---|---|
boolean |
active
|
int |
endHead
|
int |
endSector
|
int |
endTrack
|
int |
lba
|
int |
length
|
int |
partitionType
|
int |
startHead
|
int |
startSector
|
int |
startTrack
|
Constructor Summary | |
---|---|
PartitionEntry()
|
Method Summary | |
---|---|
static PartitionEntry |
create(byte[] b,
int off)
Create a new partiton entry out of the block data |
void |
fillin(byte[] b,
int off)
Initialise with data from block |
java.lang.String |
idDec(int id)
Produce a human understandable text for a partition partitionType. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean active
public int startHead
public int startTrack
public int startSector
public int endHead
public int endTrack
public int endSector
public int partitionType
public int lba
public int length
Constructor Detail |
---|
public PartitionEntry()
Method Detail |
---|
public void fillin(byte[] b, int off)
b
- blockoff
- offset within block where partition entry startspublic static PartitionEntry create(byte[] b, int off)
b
- blockoff
- offset
public java.lang.String idDec(int id)
id
-
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |