org.apache.tools.ant.taskdefs.optional.windows

Class Attrib

public class Attrib extends ExecuteOn

Attrib equivalent for Win32 environments. Note: Attrib parameters /S and /D are not handled.

Since: Ant 1.6

Constructor Summary
Attrib()
Method Summary
protected voidcheckConfiguration()
protected booleanisValidOs()
voidsetAddsourcefile(boolean b)
voidsetArchive(boolean value)
set the Archive file attribute
voidsetCommand(String e)
voidsetExecutable(String e)
voidsetFile(File src)
voidsetHidden(boolean value)
set the Hidden file attribute
voidsetMaxParallel(int max)
voidsetParallel(boolean parallel)
voidsetReadonly(boolean value)
set the ReadOnly file attribute
voidsetSkipEmptyFilesets(boolean skip)
voidsetSystem(boolean value)
set the System file attribute

Constructor Detail

Attrib

public Attrib()

Method Detail

checkConfiguration

protected void checkConfiguration()

isValidOs

protected boolean isValidOs()

setAddsourcefile

public void setAddsourcefile(boolean b)

UNKNOWN: ignore="true"

setArchive

public void setArchive(boolean value)
set the Archive file attribute

setCommand

public void setCommand(String e)

UNKNOWN: ignore="true"

setExecutable

public void setExecutable(String e)

UNKNOWN: ignore="true"

setFile

public void setFile(File src)

setHidden

public void setHidden(boolean value)
set the Hidden file attribute

setMaxParallel

public void setMaxParallel(int max)

UNKNOWN: ignore="true"

setParallel

public void setParallel(boolean parallel)

UNKNOWN: ignore="true"

setReadonly

public void setReadonly(boolean value)
set the ReadOnly file attribute

setSkipEmptyFilesets

public void setSkipEmptyFilesets(boolean skip)

UNKNOWN: ignore="true"

setSystem

public void setSystem(boolean value)
set the System file attribute
Copyright