liquibase.serializer.core.string
Class StringSnapshotSerializerReadable

java.lang.Object
  extended by liquibase.serializer.core.string.StringSnapshotSerializerReadable
All Implemented Interfaces:
SnapshotSerializer

public class StringSnapshotSerializerReadable
extends Object
implements SnapshotSerializer


Constructor Summary
StringSnapshotSerializerReadable()
           
 
Method Summary
protected  void addDivider(StringBuilder buffer)
           
 int getExpandDepth()
           
 String[] getValidFileExtensions()
           
 String serialize(LiquibaseSerializable object, boolean pretty)
           
 void setExpandDepth(int expandDepth)
           
 void write(DatabaseSnapshot snapshot, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringSnapshotSerializerReadable

public StringSnapshotSerializerReadable()
Method Detail

getValidFileExtensions

public String[] getValidFileExtensions()
Specified by:
getValidFileExtensions in interface SnapshotSerializer

serialize

public String serialize(LiquibaseSerializable object,
                        boolean pretty)
Specified by:
serialize in interface SnapshotSerializer

getExpandDepth

public int getExpandDepth()

setExpandDepth

public void setExpandDepth(int expandDepth)

addDivider

protected void addDivider(StringBuilder buffer)

write

public void write(DatabaseSnapshot snapshot,
                  OutputStream out)
           throws IOException
Specified by:
write in interface SnapshotSerializer
Throws:
IOException


Copyright © 2015 Liquibase.org. All rights reserved.