-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
njovic
committed
Aug 31, 2024
1 parent
9e40123
commit 53855ba
Showing
8 changed files
with
182 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,50 @@ | ||
package com.drew.metadata.mkv; | ||
|
||
public class EbmlElement { | ||
private final String name; | ||
private final Type type; | ||
private final DirectoryType directory; | ||
public class EbmlElement | ||
{ | ||
private final String _name; | ||
private final Type _type; | ||
private final DirectoryType _directory; | ||
|
||
public String toString(){ | ||
return name; | ||
public EbmlElement(String _name, Type type) | ||
{ | ||
this(_name, type, DirectoryType.UNKNOWN); | ||
} | ||
public String getName() { | ||
return name; | ||
|
||
public EbmlElement(String name, Type type, DirectoryType directory) | ||
{ | ||
_name = name; | ||
_type = type; | ||
_directory = directory; | ||
} | ||
|
||
public Type getType() { | ||
return type; | ||
public String toString() | ||
{ | ||
return _name; | ||
} | ||
|
||
public EbmlElement(String name, Type type) { | ||
this(name, type, DirectoryType.UNKNOWN); | ||
public String get_name() | ||
{ | ||
return _name; | ||
} | ||
public EbmlElement(String name, Type type, DirectoryType directory) { | ||
this.name = name; | ||
this.type = type; | ||
this.directory = directory; | ||
|
||
public Type get_type() | ||
{ | ||
return _type; | ||
} | ||
|
||
public DirectoryType getDirectory() { | ||
return directory; | ||
public DirectoryType getDirectory() | ||
{ | ||
return _directory; | ||
} | ||
|
||
public enum Type{ | ||
public enum Type | ||
{ | ||
MASTER, STRING, INTEGER, SIGNED_INTEGER, UTF8, BINARY, VOID, UNKNOWN, FLOAT | ||
} | ||
|
||
public enum DirectoryType{ | ||
public enum DirectoryType | ||
{ | ||
EBML, SEGMENT, VIDEO, AUDIO, UNKNOWN | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.