com.threerings.jpkg.debian
Interface MaintainerScript

All Known Implementing Classes:
FileMaintainerScript, ScriptRunner

public interface MaintainerScript

Holds Debian maintainer script types and the InputStream with the script content.


Nested Class Summary
static class MaintainerScript.Type
          The types of Debian maintainer scripts and the file names they should have.
 
Method Summary
 long getSize()
          Returns the number of bytes of data in the InputStream.
 InputStream getStream()
          Returns the InputStream with the script contents for this type.
 MaintainerScript.Type getType()
          Returns the MaintainerScript.Type of script this instance is.
 

Method Detail

getType

MaintainerScript.Type getType()
Returns the MaintainerScript.Type of script this instance is.


getStream

InputStream getStream()
                      throws IOException
Returns the InputStream with the script contents for this type.

Throws:
IOException

getSize

long getSize()
Returns the number of bytes of data in the InputStream.



Copyright © 2007-2008 Three Rings Design, Inc. All Rights Reserved. Released under a BSD license.