|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.fat.DirectoryEntry
public class DirectoryEntry
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 | |
---|---|
long |
accessTime
|
byte |
attributes
|
long |
creationTime
|
static int |
entrySize
Size in byte of a directory entry. |
java.lang.String |
extension
|
int |
fileSize
|
int |
firstCluster
|
java.lang.String |
longname
|
long |
modificationTime
|
java.lang.String |
name
|
int |
slots
Number of slots used in the block. |
Constructor Summary | |
---|---|
DirectoryEntry()
|
Method Summary | |
---|---|
static DirectoryEntry |
create(byte[] b,
int off)
Create an instance filled from the block. |
void |
fillin(byte[] b,
int offset)
Fill in from the block. |
static void |
main(java.lang.String[] args)
Print license. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int entrySize
public java.lang.String name
public java.lang.String extension
public java.lang.String longname
public byte attributes
public long creationTime
public long accessTime
public long modificationTime
public int firstCluster
public int fileSize
public int slots
Constructor Detail |
---|
public DirectoryEntry()
Method Detail |
---|
public void fillin(byte[] b, int offset) throws java.io.UnsupportedEncodingException
b
- blockoffset
- offset
java.io.UnsupportedEncodingException
public static DirectoryEntry create(byte[] b, int off) throws java.io.UnsupportedEncodingException
b
- blockoff
- offset
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public static void main(java.lang.String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |