class AbstractFile implements FileAttributes {

    public void mkfile() throws IOException, UnsupportedFileOperationException {
        if(exists())
            throw new IOException();

        if(isFileOperationSupported(FileOperation.WRITE_FILE))
            getOutputStream().close();
        else
            copyStream(new ByteArrayInputStream(new byte[]{}), false, 0);
    }

    protected  AbstractFile(FileURL url);

}