net.sf.jpkgmk.prototype
Class AbstractPrototypeEntryDevice
java.lang.Object
net.sf.jpkgmk.AbstractLineProvider
net.sf.jpkgmk.prototype.AbstractPrototypeEntry
net.sf.jpkgmk.prototype.AbstractPrototypeEntryDevice
- All Implemented Interfaces:
- LineProvider, PrototypeEntry
- Direct Known Subclasses:
- PrototypeEntryBlockDevice, PrototypeEntryCharacterDevice
public class AbstractPrototypeEntryDevice
- extends AbstractPrototypeEntry
Abstract device prototype entry used by the character and block device prototype entries.
- Since:
- 1.0
- Version:
- $Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $
Constructor Summary |
AbstractPrototypeEntryDevice(java.lang.Integer part,
PrototypeEntryType type,
java.lang.String fileClass,
java.lang.String entryPath,
java.lang.Integer major,
java.lang.Integer minor,
java.lang.String mode,
java.lang.String owner,
java.lang.String group,
PrototypeEntryCommandDefault entryCommandDefault)
Full constructor taking all arguments supported for this entry type |
Method Summary |
protected void |
create(java.io.File targetDir,
java.lang.String entryPathExpanded,
java.lang.String entryPathSourceExpanded)
Copies the file of this prototype entry into the target directory |
protected PkgMapEntry |
createPkgMapEntry(java.lang.Integer part,
PkgMapEntryType resultType,
java.lang.String entryClass,
java.lang.String entryPath,
java.lang.String entryPathSource,
java.lang.Integer major,
java.lang.Integer minor,
java.lang.String mode,
java.lang.String owner,
java.lang.String group,
java.io.File basedir)
|
Methods inherited from class net.sf.jpkgmk.prototype.AbstractPrototypeEntry |
buildAbsolutePath, create, createPkgMapEntry, equals, getEntryPath, getEntryPathSource, getFileClass, getGroup, getLine, getMajor, getMinor, getMode, getOwner, getType, hashCode, resolveGroup, resolveMode, resolveOwner, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AbstractPrototypeEntryDevice
public AbstractPrototypeEntryDevice(java.lang.Integer part,
PrototypeEntryType type,
java.lang.String fileClass,
java.lang.String entryPath,
java.lang.Integer major,
java.lang.Integer minor,
java.lang.String mode,
java.lang.String owner,
java.lang.String group,
PrototypeEntryCommandDefault entryCommandDefault)
- Full constructor taking all arguments supported for this entry type
- Parameters:
part
- type
- fileClass
- entryPath
- path to the file or directorymajor
- minor
- mode
- owner
- group
- entryCommandDefault
-
createPkgMapEntry
protected PkgMapEntry createPkgMapEntry(java.lang.Integer part,
PkgMapEntryType resultType,
java.lang.String entryClass,
java.lang.String entryPath,
java.lang.String entryPathSource,
java.lang.Integer major,
java.lang.Integer minor,
java.lang.String mode,
java.lang.String owner,
java.lang.String group,
java.io.File basedir)
- Specified by:
createPkgMapEntry
in class AbstractPrototypeEntry
create
protected void create(java.io.File targetDir,
java.lang.String entryPathExpanded,
java.lang.String entryPathSourceExpanded)
throws java.io.IOException
- Description copied from class:
AbstractPrototypeEntry
- Copies the file of this prototype entry into the target directory
- Specified by:
create
in class AbstractPrototypeEntry
- Throws:
java.io.IOException
Copyright © 2007-2008. All Rights Reserved.