blob: 4d7815912e176fdda02c6c4381e160c76a28c3da [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.internal.filesystem.local.unix;
import org.eclipse.core.filesystem.IFileInfo;
import org.eclipse.core.filesystem.provider.FileInfo;
import org.eclipse.core.internal.filesystem.local.NativeHandler;
/**
* Native handler that delegates to UnixFileNatives
*/
public class UnixFileHandler extends NativeHandler {
@Override
public int getSupportedAttributes() {
return UnixFileNatives.getSupportedAttributes();
}
@Override
public FileInfo fetchFileInfo(String fileName) {
return UnixFileNatives.fetchFileInfo(fileName);
}
@Override
public boolean putFileInfo(String fileName, IFileInfo info, int options) {
return UnixFileNatives.putFileInfo(fileName, info, options);
}
}