类 ResourceRegion
java.lang.Object
cn.taketoday.core.io.ResourceRegion
Region of a
Resource implementation, materialized by a position
within the Resource and a byte count for the length of that region.- 从以下版本开始:
- 4.0 2021/11/6 12:28
- 作者:
- Arjen Poutsma, Harry Yang
-
字段概要
字段 -
构造器概要
构造器构造器说明ResourceRegion(Resource resource, long position, long count) Create a newResourceRegionfrom a givenResource. -
方法概要
-
字段详细资料
-
count
private final long count -
position
private final long position -
resource
-
-
构造器详细资料
-
ResourceRegion
Create a newResourceRegionfrom a givenResource. This region of a resource is represented by a startpositionand a bytecountwithin the givenResource.- 参数:
resource- a Resourceposition- the start position of the region in that resourcecount- the byte count of the region in that resource
-
-
方法详细资料