mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Renamed ItemSerializer to ItemReader to allow room for ItemWriter counterpart
This commit is contained in:
parent
a3073167a6
commit
1fcd8b7a4d
@ -30,11 +30,11 @@ public class Item {
|
||||
private static final boolean SIMPLE_FLAGS = !true;
|
||||
private static final boolean ONLY_KNOWN_FLAGS = SIMPLE_FLAGS && true;
|
||||
|
||||
private static final ItemSerializer DEFAULT_SERIALIZER = new ItemSerializer();
|
||||
private static final ItemReader DEFAULT_SERIALIZER = new ItemReader();
|
||||
private static final ItemLabeler DEFAULT_LABELER = new ItemLabeler();
|
||||
|
||||
/**
|
||||
* @deprecated use {@link ItemSerializer#readItem(ByteInput)} instead!
|
||||
* @deprecated use {@link ItemReader#readItem(ByteInput)} instead!
|
||||
*/
|
||||
@Deprecated
|
||||
public static Item loadFromStream(BitStream bitStream) {
|
||||
|
@ -12,8 +12,8 @@ import com.riiablo.io.ByteInput;
|
||||
import com.riiablo.log.Log;
|
||||
import com.riiablo.log.LogManager;
|
||||
|
||||
public class ItemSerializer {
|
||||
private static final Logger log = LogManager.getLogger(ItemSerializer.class);
|
||||
public class ItemReader {
|
||||
private static final Logger log = LogManager.getLogger(ItemReader.class);
|
||||
|
||||
private static final byte[] SIGNATURE = {0x4A, 0x4D};
|
||||
|
Loading…
Reference in New Issue
Block a user