fsblockdeviceapi.java

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 27 行

JAVA
27
字号
/*
 * $Id: FSBlockDeviceAPI.java,v 1.1 2003/11/25 11:50:46 epr Exp $
 */
package org.jnode.driver.block;

import org.jnode.fs.partitions.PartitionTableEntry;

/**
 * An FSBlockDeviceAPI is an API for blockdevices that (may) contain a filesystem.
 * @author epr
 */
public interface FSBlockDeviceAPI extends BlockDeviceAPI {
	
	/**
	 * Gets the sector size for this device.
 	 * @return The sector size in bytes
	 */
	public int getSectorSize();
	
	/**
	 * Gets the partition table entry specifying this device.
	 * @return A PartitionTableEntry or null if no partition table entry exists.
	 */
	public PartitionTableEntry getPartitionTableEntry();

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?