public int getCompoundMask(int... fileOperationMask) {
		int resultantMask = 0;
		if (fileOperationMask.length == 0) {
			throw new IllegalArgumentException();
		}

		// Jnotifier uses a bitwise OR of all the masks usedto create a
		// compounded mask
		for (int mask : fileOperationMask) {
			resultantMask = resultantMask | mask;
		}
		return resultantMask;
	}