examples.distcontrol
Interface FileHandler

All Known Implementing Classes:
DummyFileHandler

interface FileHandler

DOCUMENT ME!

Author:
Martin TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Method Summary
 void doLevel1Action(SearchResult file)
          Dummy method for some action that should happen if security level of file and system differs by 1.
 void doLevel2Action(SearchResult file)
          Dummy method for some action that should happen if security level of file and system differs by 2.
 void doLevel3Action(SearchResult file)
          Dummy method for some action that should happen if security level of file and system differs by 3.
 boolean filter(SearchResult result)
          Checks the security level of a file.
 

Method Detail

filter

public boolean filter(SearchResult result)
Checks the security level of a file.

Parameters:
result - the file to be checked
Returns:
the security level of the file

doLevel1Action

public void doLevel1Action(SearchResult file)
Dummy method for some action that should happen if security level of file and system differs by 1.

Parameters:
file - DOCUMENT ME!

doLevel2Action

public void doLevel2Action(SearchResult file)
Dummy method for some action that should happen if security level of file and system differs by 2.

Parameters:
file - DOCUMENT ME!

doLevel3Action

public void doLevel3Action(SearchResult file)
Dummy method for some action that should happen if security level of file and system differs by 3.

Parameters:
file - DOCUMENT ME!


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.