Changeset 5842


Ignore:
Timestamp:
02/15/04 19:42:03 (17 years ago)
Author:
piso
Message:

_getFilePosition()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/StringOutputStream.java

    r5838 r5842  
    33 *
    44 * Copyright (C) 2002-2004 Peter Graves
    5  * $Id: StringOutputStream.java,v 1.11 2004-02-15 18:45:43 piso Exp $
     5 * $Id: StringOutputStream.java,v 1.12 2004-02-15 19:42:03 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    9292    }
    9393
     94    protected long _getFilePosition() throws ConditionThrowable
     95    {
     96        if (elementType == NIL)
     97            return 0;
     98        return stringWriter.toString().length();
     99    }
     100
    94101    public LispObject getString() throws ConditionThrowable
    95102    {
Note: See TracChangeset for help on using the changeset viewer.