Package com.zebra.sdk.printer
Class PrinterObjectProperties
Object
com.zebra.sdk.printer.PrinterObjectProperties
Container for properties of a printer object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetCRC32()Return the 32-bit CRC value of the file.Return the drive prefix.Return the file extension.Return the file name.longReturn the size of the file.Return the full file name.voidsetCRC32(long CRC32) Set the 32-bit CRC value of the file.voidsetDrivePrefix(String drivePrefix) Set the drive prefix.voidsetExtension(String extension) Set the file extension.voidsetFileName(String fileName) Set the file name.voidsetFileSize(long fileSize) Set the size of the file.
-
Constructor Details
-
PrinterObjectProperties
public PrinterObjectProperties()
-
-
Method Details
-
getDrivePrefix
Return the drive prefix.- Returns:
- the drive prefix with the trailing colon
-
setDrivePrefix
Set the drive prefix.- Parameters:
drivePrefix- the drive prefix with the trailing colon
-
getFileName
Return the file name.- Returns:
- the file name
-
setFileName
Set the file name.- Parameters:
fileName- the file name
-
getExtension
Return the file extension.- Returns:
- the file extension
-
setExtension
Set the file extension.- Parameters:
extension- the file extension
-
getFullName
Return the full file name.- Returns:
- full name of the file on the printer
-
getFileSize
public long getFileSize()Return the size of the file.- Returns:
- the fileSize the size of the file
-
setFileSize
public void setFileSize(long fileSize) Set the size of the file.- Parameters:
fileSize- the size of the file in bytes
-
getCRC32
public long getCRC32()Return the 32-bit CRC value of the file.- Returns:
- the 32-bit CRC of the file
-
setCRC32
public void setCRC32(long CRC32) Set the 32-bit CRC value of the file.- Parameters:
CRC32- the 32-bit CRC of the file
-