public class FileMark extends SelectMask
FileRemote to store comparison or mark information.| Modifier and Type | Field and Description | 
|---|---|
| static int | cmpAloneFlags as result of an comparison: the other file does not exist, or any files of an directory does not exists
 or there are differences. | 
| static int | cmpContentEqualFlags as result of an comparison: the other file does not exist, or exists only with same length or with same time stamp 
 If 0 and also cmpContentNotEqual is 0, it is not tested. | 
| static int | cmpContentNotEqualFlags as result of an comparison: the other file does not exist, 
 or exists with other length or other timestamp, or with other content also with same length or with same time stamp 
 If 0 and also cmpContentEqual is 0, it is not tested. | 
| static int | cmpFileDifferencesFlags as result of an comparison: the other file does not exist, or any files of an directory does not exists
 or there are differences. | 
| static int | cmpLenTimeEqualFlags as result of an comparison: the other file has the same length and same time stamp, it seems it may be equal, but not tested. | 
| static int | cmpMissingFilesFlags as result of an comparison: the other file does not exist, or any files of an directory does not exists
 or there are differences. | 
| static int | cmpTimeGreaterFlags as result of an comparison: this file has a time stamp greater then the other. | 
| static int | cmpTimeLesserFlags as result of an comparison: this file has a time stamp lesser then the other, the file is older. | 
| static int | ignoreSymbolicLinksThis is not used for mark, used for selection. | 
| protected FileRemote | itsFile | 
| static int | markDirFlags means that this file is any directory which is in the mark tree. | 
| static int | markRootFlags means that this file is the root of mark. | 
| static int | mCmpFilemask of all bits for comparison one file. | 
| static int | mSelectMarkBits | 
| long | nrofBytesSelected | 
| int | nrofFilesSelected | 
| static int | orWithSelectStringThis is not used for mark, used for selection. | 
| static int | resetMarkThis is not used for mark, only for a mark command. | 
| static int | resetNonMarkedThis is not used for mark, only for a mark command. | 
| static int | selectFlags is a simple marker for manual selecting for a file, also for a directory, shown in red in Fcmd. | 
| static int | selectForCopyFlags is a marker for files or the whole dir to copy, select in orange in Fcmd. | 
| static int | selectForCopySomeInDirFlags is a marker for directory which contains some to copy, select in light orange in Fcmd. | 
| static int | selectSomeInDirFlags means that some but not all files are marked inside a directory. | 
| static java.lang.String | sVersionVersion, history and license. | 
| static char | XXXcharCmpContentEqualFlags as result of an comparison: the other file is checked by content maybe with restricitons. | 
| static char | XXXcharCmpContentEqualWithoutCommentsFlags as result of an comparison: the other file is checked by content maybe with restricitons. | 
| static char | XXXcharCmpContentEqualWithoutEndlinesFlags as result of an comparison: the other file is checked by content maybe with restricitons. | 
| static char | XXXcharCmpContentEqualwithoutSpacesFlags as result of an comparison: the other file is checked by content maybe with restricitons. | 
selectMask, versionselect2, select2Parent, selectParent| Constructor and Description | 
|---|
| FileMark(FileRemote itsFile) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | nrofFilesSelected() | 
| int | setMarked(int mask,
         java.lang.Object data)Sets some bits of the mask. | 
| void | setMarkParent(int mask,
             boolean count)Sets a mark to all parents of this till the  markRootis found. | 
| int | setNonMarkedRecursively(int mask,
                       java.lang.Object data,
                       boolean recursively) | 
| java.lang.String | toString() | 
getMark, setNonMarkedpublic static final java.lang.String sVersion
cmpTimeGreater and ~Lesser added. 
 MarkMask_ifc de facto, but not documented.
   Not documented. Enhanced with selectForCopy =^ MarkMask_ifc.select2.
   Also shown as colors in the org.vishia.gral.widget.GralFileSelector. 
 FileRemote may have information about a select status
   or about a comparison result. It is stored in a referred instance of this type. Experience.
 public static final char XXXcharCmpContentEqual
public static final char XXXcharCmpContentEqualWithoutComments
public static final char XXXcharCmpContentEqualWithoutEndlines
public static final char XXXcharCmpContentEqualwithoutSpaces
public static final int select
public static final int selectSomeInDir
public static final int selectForCopy
public static final int selectForCopySomeInDir
public static final int markRoot
setMarkParent(int, boolean)public static final int markDir
public static final int cmpTimeGreater
public static final int cmpTimeLesser
public static final int cmpAlone
public static final int cmpLenTimeEqual
public static final int cmpContentEqual
public static final int cmpContentNotEqual
public static final int mCmpFile
public static final int cmpMissingFiles
public static final int cmpFileDifferences
public static final int resetNonMarked
public static final int resetMark
public static final int orWithSelectString
public static final int ignoreSymbolicLinks
public static final int mSelectMarkBits
protected final FileRemote itsFile
public int nrofFilesSelected
public long nrofBytesSelected
public FileMark(FileRemote itsFile)
public int nrofFilesSelected()
public int setNonMarkedRecursively(int mask,
                                   java.lang.Object data,
                                   boolean recursively)
public int setMarked(int mask,
                     java.lang.Object data)
SelectMasksetMarked in interface MarkMask_ifcsetMarked in class SelectMaskmask - This bits of the SelectMask.selectMask will be reseted.data - not used here.public void setMarkParent(int mask,
                          boolean count)
markRoot is found.mask - count - TODOpublic java.lang.String toString()
toString in class java.lang.Object