azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.file.shar...

108 строки
7.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.file.share.models.ShareFileRange"
fullName: "com.azure.storage.file.share.models.ShareFileRange"
name: "ShareFileRange"
nameWithType: "ShareFileRange"
summary: "The range of a file in the storage file service."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ShareFileRange**"
constructors:
- uid: "com.azure.storage.file.share.models.ShareFileRange.ShareFileRange(com.azure.storage.file.share.models.Range)"
fullName: "com.azure.storage.file.share.models.ShareFileRange.ShareFileRange(Range range)"
name: "ShareFileRange(Range range)"
nameWithType: "ShareFileRange.ShareFileRange(Range range)"
summary: "Creates an instance of the range of a file from the passed <xref uid=\"com.azure.storage.file.share.models.Range\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Range\"></xref>."
parameters:
- description: "Range object containing start and end of the file."
name: "range"
type: "<xref href=\"com.azure.storage.file.share.models.Range?alt=com.azure.storage.file.share.models.Range&text=Range\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ShareFileRange(Range range)"
desc: "Creates an instance of the range of a file from the passed <xref uid=\"com.azure.storage.file.share.models.Range\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Range\"></xref>."
- uid: "com.azure.storage.file.share.models.ShareFileRange.ShareFileRange(long)"
fullName: "com.azure.storage.file.share.models.ShareFileRange.ShareFileRange(long start)"
name: "ShareFileRange(long start)"
nameWithType: "ShareFileRange.ShareFileRange(long start)"
summary: "Create an instance of the range of a file."
parameters:
- description: "Specifies the start of bytes to be written."
name: "start"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ShareFileRange(long start)"
desc: "Create an instance of the range of a file. Specify the start the range and the end defaults to the length of the file."
- uid: "com.azure.storage.file.share.models.ShareFileRange.ShareFileRange(long,java.lang.Long)"
fullName: "com.azure.storage.file.share.models.ShareFileRange.ShareFileRange(long start, Long end)"
name: "ShareFileRange(long start, Long end)"
nameWithType: "ShareFileRange.ShareFileRange(long start, Long end)"
summary: "Create an instance of the range of a file."
parameters:
- description: "Specifies the start of bytes to be written."
name: "start"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- description: "Specifies the end of bytes to be written"
name: "end"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public ShareFileRange(long start, Long end)"
desc: "Create an instance of the range of a file. Both the start and end of the range must be specified."
methods:
- uid: "com.azure.storage.file.share.models.ShareFileRange.getEnd()"
fullName: "com.azure.storage.file.share.models.ShareFileRange.getEnd()"
name: "getEnd()"
nameWithType: "ShareFileRange.getEnd()"
summary: "Gets the end of bytes to be written."
syntax: "public Long getEnd()"
desc: "Gets the end of bytes to be written."
returns:
description: "The end of bytes to be written."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.storage.file.share.models.ShareFileRange.getStart()"
fullName: "com.azure.storage.file.share.models.ShareFileRange.getStart()"
name: "getStart()"
nameWithType: "ShareFileRange.getStart()"
summary: "Gets the start of bytes to be written."
syntax: "public long getStart()"
desc: "Gets the start of bytes to be written."
returns:
description: "The start of bytes to be written."
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.file.share.models.ShareFileRange.toHeaderValue()"
fullName: "com.azure.storage.file.share.models.ShareFileRange.toHeaderValue()"
name: "toHeaderValue()"
nameWithType: "ShareFileRange.toHeaderValue()"
summary: "Gets <xref uid=\"com.azure.storage.file.share.models.ShareFileRange.toString()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> if `count` isn't `null` or `offset` isn't 0, otherwise null."
syntax: "public String toHeaderValue()"
desc: "Gets <xref uid=\"com.azure.storage.file.share.models.ShareFileRange.toString()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> if `count` isn't `null` or `offset` isn't 0, otherwise null."
returns:
description: "<xref uid=\"com.azure.storage.file.share.models.ShareFileRange.toString()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> if <code>count</code> isn't <code>null</code> or <code>offset</code> isn't 0, otherwise null."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.storage.file.share.models.ShareFileRange.toString()"
fullName: "com.azure.storage.file.share.models.ShareFileRange.toString()"
name: "toString()"
nameWithType: "ShareFileRange.toString()"
summary: "Gets the string format of the Share<wbr>File<wbr>Range written into request."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Gets the string format of the ShareFileRange written into request."
returns:
description: "The string format of the ShareFileRange written into request."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "The range of a file in the storage file service."
metadata: {}
package: "com.azure.storage.file.share.models"
artifact: com.azure:azure-storage-file-share:12.24.0