Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QcmpCompressionLibrary
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioinformaticDataCompression
QcmpCompressionLibrary
Commits
780ef867
Commit
780ef867
authored
Feb 14, 2020
by
Vojtech Moravec
Browse files
Options
Downloads
Patches
Plain Diff
Input file class.
parent
3f183cf8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/azgracompress/cli/InputFileInfo.java
+80
-0
80 additions, 0 deletions
src/main/java/azgracompress/cli/InputFileInfo.java
with
80 additions
and
0 deletions
src/main/java/azgracompress/cli/InputFileInfo.java
0 → 100644
+
80
−
0
View file @
780ef867
package
azgracompress.cli
;
import
azgracompress.data.V2i
;
import
azgracompress.data.V3i
;
import
azgracompress.fileformat.FileType
;
/**
* Information about the input file.
*/
public
class
InputFileInfo
{
/**
* Input file type.
*/
private
final
FileType
fileType
;
/**
* Input file path.
*/
private
final
String
filePath
;
private
V3i
dimension
;
private
boolean
planeIndexSet
=
false
;
private
int
planeIndex
;
private
boolean
planeRangeSet
=
false
;
private
V2i
planeRange
;
public
InputFileInfo
(
final
FileType
fileType
,
final
String
filePath
)
{
this
.
fileType
=
fileType
;
this
.
filePath
=
filePath
;
}
public
void
setDimension
(
V3i
dimension
)
{
this
.
dimension
=
dimension
;
}
public
void
setPlaneIndexSet
(
boolean
planeIndexSet
)
{
this
.
planeIndexSet
=
planeIndexSet
;
}
public
void
setPlaneIndex
(
int
planeIndex
)
{
this
.
planeIndex
=
planeIndex
;
}
public
void
setPlaneRangeSet
(
boolean
planeRangeSet
)
{
this
.
planeRangeSet
=
planeRangeSet
;
}
public
void
setPlaneRange
(
V2i
planeRange
)
{
this
.
planeRange
=
planeRange
;
}
public
FileType
getFileType
()
{
return
fileType
;
}
public
String
getFilePath
()
{
return
filePath
;
}
public
V3i
getDimension
()
{
return
dimension
;
}
public
boolean
isPlaneIndexSet
()
{
return
planeIndexSet
;
}
public
int
getPlaneIndex
()
{
return
planeIndex
;
}
public
boolean
isPlaneRangeSet
()
{
return
planeRangeSet
;
}
public
V2i
getPlaneRange
()
{
return
planeRange
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment